Class EtcdWatcher
Namespace: Etcd
Assembly: etcd.v3.dll
Syntax
public class EtcdWatcher : IDisposable
Constructors
View Source
EtcdWatcher(AsyncDuplexStreamingCall<WatchRequest, WatchResponse>)
Declaration
public EtcdWatcher(AsyncDuplexStreamingCall<WatchRequest, WatchResponse> stream)
Parameters
Methods
View Source
CancelAsync(CancellationToken)
Declaration
public Task CancelAsync(CancellationToken cancellationToken = default)
Parameters
Returns
View Source
Dispose()
Declaration
View Source
ForAllAsync(Func<WatchResponse, Task>, CancellationToken)
Declaration
public Task ForAllAsync(Func<WatchResponse, Task> func, CancellationToken cancellationToken = default)
Parameters
Returns
View Source
ReadAllAsync(CancellationToken)
Declaration
public IAsyncEnumerable<WatchResponse> ReadAllAsync(CancellationToken cancellationToken = default)
Parameters
Returns
Implements