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

Clarify that watch channels are closed for non-persistent watches #37

Open
ilikeorangutans opened this issue May 3, 2023 · 0 comments
Assignees

Comments

@ilikeorangutans
Copy link

Methods setting watches return channels with events. If the watches are non-persistent the channels will be closed after the watch fires. It is important to stop reading from the channel after the event because once it's closed, reading from the channel will produce events in their default state which is confusing.

The documentation of the watch methods should warn that the channels close and further reads will produce confusing events.

CC @jpfourny

@ilikeorangutans ilikeorangutans self-assigned this May 3, 2023
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

1 participant