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

Checking if a certain subscription is ready #74

Open
roytz opened this issue Mar 21, 2016 · 1 comment
Open

Checking if a certain subscription is ready #74

roytz opened this issue Mar 21, 2016 · 1 comment

Comments

@roytz
Copy link

roytz commented Mar 21, 2016

Hi,
How can I know if a certain subscription is ready (or if I subscribed it already)?
when using subs.ready() it returns true if all subscriptions are ready.
I use it because I subscribe at a certain page and if I go to another page and then back to the same certain page - I wan't to know if I already subscribed.

Also, how can I stop a certain subscription?

Thanks!

@markshust
Copy link

subs.subscribe('specific-sub').ready()

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

No branches or pull requests

2 participants