aiozk icon indicating copy to clipboard operation
aiozk copied to clipboard

watchers and aio

Open simingy opened this issue 3 years ago • 1 comments

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?

simingy avatar May 12 '22 19:05 simingy

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

cybergrind avatar May 25 '22 10:05 cybergrind