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

Multi subscribe #140

Open
Lemniscate317 opened this issue Aug 30, 2017 · 0 comments
Open

Multi subscribe #140

Lemniscate317 opened this issue Aug 30, 2017 · 0 comments

Comments

@Lemniscate317
Copy link

I put the subscribe in Onconnect.when connect success,it will subscribe the collecion.

String flag = null;

onConnect(){
  if (flag !=null)return
  flag = singleinstance.subscrbe("any collections")
}
onDisconnect(){
  flag =null;
}

above is the code what i subscribe.

now the ques is:in local test env,i see no multi subscribe.
but in the online env,in the monitor,the logs show that the app always subscribe the method,
i am confuse,so i ask the ques in here,hope your reply!

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

1 participant