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

[WIP] Add unsubscribeAll methods to unsubscribing all listeners at once #1789

Draft
wants to merge 1 commit into
base: main
Choose a base branch
from

Conversation

VeskeR
Copy link
Contributor

@VeskeR VeskeR commented Jun 13, 2024

The change is driven by unsubscribeAll used in Chat SDK and related DR https://ably.atlassian.net/wiki/spaces/CHA/pages/3141992466/CHADR-035+Unsubscribing+All+Listeners+at+Once.

Deprecates the ability to call .unsubscribe() methods without any valid parameters.

TODO:
test for unsubscribeAll
update spec with unsubscribeAll
add type safety to complain when called .unsubscribe(undefined)

…eAll`

Also deprecates the ability to call `.unsubscribe()` methods without
any valid parameters.
@VeskeR VeskeR changed the title Add unsubscribeAll methods to unsubscribing all listeners at once [WIP] Add unsubscribeAll methods to unsubscribing all listeners at once Jun 13, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant