We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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
The subscription methods were modeled after the original Ruby client:
# Simple publisher and async subscriber via coroutine. sid = await nc.subscribe("foo", cb=message_handler) # Stop receiving after 2 messages. await nc.auto_unsubscribe(sid, 2)
but similar as with other clients, we should change the API so that it is more consistent with the Go client:
sub = await nc.subscribe("foo", cb=message_handler) await sub.auto_unsubscribe(2) await sub.unsubscribe()
The text was updated successfully, but these errors were encountered:
Added to v1-dev branch here: #175
Sorry, something went wrong.
No branches or pull requests
The subscription methods were modeled after the original Ruby client:
but similar as with other clients, we should change the API so that it is more consistent with the Go client:
The text was updated successfully, but these errors were encountered: