Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
unsubscribe without arguments "[u]nsubscribes all listeners to messages on this channel. This removes all earlier subscriptions." Also, Ably staff explained to me that "[...] you don't need to call leave() if calling detach(): the server enforces the invariant that a client cannot be present on a channel they are not attached to, so detach() will also cause that client to leave the presence set)."
- Loading branch information
Showing
1 changed file
with
2 additions
and
23 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters