Skip to content
This repository has been archived by the owner on Jul 21, 2021. It is now read-only.

How can I cancel an event watcher? #94

Open
smousa opened this issue Nov 13, 2015 · 4 comments
Open

How can I cancel an event watcher? #94

smousa opened this issue Nov 13, 2015 · 4 comments

Comments

@smousa
Copy link

smousa commented Nov 13, 2015

Is there a way to cancel a ChildrenW or GetW event?

@ahjdzx
Copy link

ahjdzx commented Apr 8, 2016

@samuel

@tevino
Copy link

tevino commented Apr 8, 2016

Same issue here, seems no way...

Here is the only place where the watchers will be removed:
https://github.com/samuel/go-zookeeper/blob/master/zk/conn.go#L630

@tevino
Copy link

tevino commented Apr 11, 2016

Here's a PR featuring Conn.RemoveWatcher, works great for me: #110
The project seems out of maintenance, just use the fork.

@cerisier
Copy link

cerisier commented May 5, 2016

Would love to see this merged as well

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

4 participants