PATH:
usr
/
local
/
lib
/
node_modules
/
pm2
/
node_modules
/
pm2-axon
/
lib
/
sockets
/** * Module dependencies. */ var roundrobin = require('../plugins/round-robin'); var queue = require('../plugins/queue'); var Socket = require('./sock'); /** * Expose `PushSocket`. */ module.exports = PushSocket; /** * Initialize a new `PushSocket`. * * @api private */ function PushSocket() { Socket.call(this); this.use(queue()); this.use(roundrobin({ fallback: this.enqueue })); } /** * Inherits from `Socket.prototype`. */ PushSocket.prototype.__proto__ = Socket.prototype;
[-] pub.js
[edit]
[+]
..
[-] sub.js
[edit]
[-] req.js
[edit]
[-] rep.js
[edit]
[-] sub-emitter.js
[edit]
[-] pub-emitter.js
[edit]
[-] push.js
[edit]
[-] sock.js
[edit]
[-] pull.js
[edit]