You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
var pusher = new Pusher('<%= Pusher.key %>'); // uses your API KEY
var channel = pusher.subscribe('a_channel');
channel.bind('an_event', function(data) {
alert('foobar');
});
Will the listening part block a typical web application by using a single thread, or will it do it asynchronously as well?
The text was updated successfully, but these errors were encountered:
When doing asynchronous triggering:
Listening for events on the channel looks like:
Will the listening part block a typical web application by using a single thread, or will it do it asynchronously as well?
The text was updated successfully, but these errors were encountered: