Skip to content

Add CancelWatch to IEtcdClient #280

@lamesjinden

Description

@lamesjinden

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.

Metadata

Metadata

Labels

No labels
No labels

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions