on 04-22-2010 3:35 PM
I would like to synchronize the state of an item among different users instantly. Comet is offering subscribe to get notifications of changes.
How can I use that with the Method API?
This feature is already built in.
When you call clientChannel.publish as shown in the documentation all the users states will be instantly refreshed because we force the callback function to be called for all of them at the same time.
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.
User | Count |
---|---|
86 | |
10 | |
10 | |
9 | |
7 | |
7 | |
6 | |
5 | |
4 | |
4 |
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.