Class WatchExtensions
Inheritance
System.Object
WatchExtensions
Inherited Members
System.Object.ToString()
System.Object.Equals(System.Object)
System.Object.Equals(System.Object, System.Object)
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.GetHashCode()
System.Object.GetType()
System.Object.MemberwiseClone()
Namespace: ETCD.V3
Assembly: cs.temp.dll.dll
Syntax
public static class WatchExtensions
Methods
Watch(Client)
Watch watches for events happening or that have happened. Both input and output are streams; the input stream is for creating and canceling watchers and the output stream sends events. One watch RPC can watch on multiple key ranges, streaming events for several watches at once. The entire event history can be watched starting from the last compaction revision.
Declaration
public static AsyncDuplexStreamingCall<WatchRequest, WatchResponse> Watch(this Client client)
Parameters
Type | Name | Description |
---|---|---|
Client | client |
Returns
Type | Description |
---|---|
AsyncDuplexStreamingCall<WatchRequest, WatchResponse> | The call object. |