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

Proposal : unsubscribe all message & conversation event #188

Closed
wants to merge 4 commits into from

Conversation

kele-leanes
Copy link
Contributor

Description:
Building upon the insights gained from issue #187, this pull request introduces a refined approach to proper unsubscription from the methods returned by stream and streamAllMessages. Simultaneously, it recommends the removal of the static methods cancelStream() and cancelStreamAllMessages().

This adjustment serves to eliminate redundant listeners and prevent the occurrence of duplicated events.

iOS Android

@kele-leanes kele-leanes self-assigned this Dec 18, 2023
@kele-leanes kele-leanes requested review from jhaaaa and a team as code owners December 18, 2023 19:55
Base automatically changed from kele/unsubscribe-from-stream to main December 18, 2023 23:39
README.md Outdated Show resolved Hide resolved
README.md Outdated Show resolved Hide resolved
@kele-leanes kele-leanes force-pushed the kele/unsubscribe-from-conversation branch from 51581e3 to d06d5f6 Compare December 19, 2023 15:33
cameronvoell
cameronvoell previously approved these changes Dec 19, 2023
Copy link
Contributor

@cameronvoell cameronvoell left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks for the updated examples. LGTM!

@cameronvoell cameronvoell dismissed their stale review December 19, 2023 17:25

downstream clients may be using cancelStream functions, need to revise strategy here

@cameronvoell
Copy link
Contributor

I'll go ahead and close this one, as issues with cancelStream functions was addressed in a PR here: #290

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

Successfully merging this pull request may close these issues.

2 participants