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

subscribe should optionally take an additional error callback #220

Closed
tcard opened this issue Feb 16, 2016 · 0 comments
Closed

subscribe should optionally take an additional error callback #220

tcard opened this issue Feb 16, 2016 · 0 comments

Comments

@tcard
Copy link
Contributor

tcard commented Feb 16, 2016

IDL is subscribe(String, (Message) ->) => io // RTL7b which means you can register a listener for messages that come in, but there is also => io which is a callback that will result in an error if the implicit attach does not work, see https://github.com/ably/docs/pull/87/files#diff-11900b395df266bc2bbfc1d11bdfc7a0R407

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

No branches or pull requests

1 participant