Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

watchers and aio #81

Open
simingy opened this issue May 12, 2022 · 1 comment
Open

watchers and aio #81

simingy opened this issue May 12, 2022 · 1 comment

Comments

@simingy
Copy link

simingy commented May 12, 2022

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
Copy link
Member

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

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

No branches or pull requests

2 participants