micro-fan / aiozk

Asyncio client for zookeeper
MIT License
49 stars 20 forks source link

watchers and aio #81

Open simingy opened 2 years ago

simingy commented 2 years ago

seems like in the source code you can add watchers:

zk.session.add_watch_callback(3, '/my/favorite', my_func)

but apart from that the func needs to by sync instead of async, and isn't documented.

work in progress?

cybergrind commented 2 years ago

@simingy great notice, need to handle async functions as well