-
Notifications
You must be signed in to change notification settings - Fork 6
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
getChannels returns an empty collection when called from onClose() #19
Comments
getChannels could be made to work in onClose, as the following works and gets me the channel id:
|
By the way, this is the exception that's thrown when trying to for loop over what getSubscribers returns:
This is probably a bug too, as getSubscribers is unusable without resorting to Java trickery as in the code above.
|
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This should be documented in the Websocket API docs.
As mentioned in #11, before #11 was fixed, onClose would return an error:
This was due to onClose also calling unsubscribeAll (which is redundant?).
It'd also be good to document all methods that can and can't be used from e.g. onClose and all other handlers.
The text was updated successfully, but these errors were encountered: