Add CancelWatch to the IEtcdClient interface to support creating and disposing of established Watches through the interface.
Currently, it is possible to create a watch through the IEtcdClient interface. However, in order to cancel the Watch, programs are forced to do so through the concrete type, EtcdClient.
Adding the CancelWatch method(s) to the interface improves testability and the DI experience.
Add
CancelWatchto theIEtcdClientinterface to support creating and disposing of established Watches through the interface.Currently, it is possible to create a watch through the
IEtcdClientinterface. However, in order to cancel the Watch, programs are forced to do so through the concrete type,EtcdClient.Adding the
CancelWatchmethod(s) to the interface improves testability and the DI experience.