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

Subscriber Worker Queue: Stop Connection #585

Open
AndyTWF opened this issue Feb 22, 2023 · 1 comment
Open

Subscriber Worker Queue: Stop Connection #585

AndyTWF opened this issue Feb 22, 2023 · 1 comment
Milestone

Comments

@AndyTWF
Copy link
Contributor

AndyTWF commented Feb 22, 2023

Implement the following worker:

  • StopConnection

This worker is called when a consumer calls subscriber.stop(). It calls ably.close(), marks the subscriber as stopped, sets all trackables as offline (do check the TODO comment in Android on this bit) and then notifies the caller of success via callback.

If the subscriber is already stopped, and doWhenStopped is called, then the user callback should be called with success.

@AndyTWF AndyTWF added this to the 1.0.0 milestone Feb 22, 2023
@sync-by-unito
Copy link

sync-by-unito bot commented Feb 22, 2023

➤ Automation for Jira commented:

The link to the corresponding Jira issue is https://ably.atlassian.net/browse/SDK-3403

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