Skip to content

Navigation Menu

Sign in
Appearance settings

Search code, repositories, users, issues, pull requests...

Provide feedback

We read every piece of feedback, and take your input very seriously.

Saved searches

Use saved searches to filter your results more quickly

Appearance settings

Latest commit

 

History

History
History
 
 

PubNub Pool for Many Channels

The pool manager will allow you to subscribe to more channels than the maximum recommended.

// Init
var pubnub = require('./pnpool')( 25, {
    publish_key   : 'demo',
    subscribe_key : 'demo'
} );

// Subscribe to Many Channels
pubnub(channel).subscribe({
    channel : channel,
    message : function(msg) { console.log(msg },
});

// Send Message
pubnub(channel).publish({
    channel : channel,
    message : channel
});
Morty Proxy This is a proxified and sanitized view of the page, visit original site.