bonifaido / rust-zookeeper

Pure Rust library for Apache ZooKeeper built on MIO
MIT License
204 stars 46 forks source link

how to listen node children change(add or remove)? #85

Open Silentdoer opened 2 years ago

Silentdoer commented 2 years ago

like title

tgockel commented 2 years ago

Are you looking for get_children_w?

Silentdoer commented 2 years ago

Are you looking for get_children_w?

It can only watch once, can it watch node changes in a loop, such as zk.get_children_rw(rw is mean repeat watch)?