cancel
Showing results for 
Search instead for 
Did you mean: 

How can I use clientChannel.subscribe()?

Former Member
0 Kudos

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?

Accepted Solutions (0)

Answers (1)

Answers (1)

Former Member
0 Kudos

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.