/
githubmirror
/
pm2
Обзор
Документация
Войти
/
githubmirror
/
pm2
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
master
modules/pm2-axon/lib/sockets/pull.js
36 строк
523 B
Unitech
v7 refactor
08 фев 2026, 17:04
08 фев 2026, 17:04
04fad96
Код
Авторство
О чём код?
/** * Module dependencies. */ var Socket = require('./sock'); /** * Expose `PullSocket`. */ module.exports = PullSocket; /** * Initialize a new `PullSocket`. * * @api private */ function PullSocket() { Socket.call(this); // TODO: selective reception } /** * Inherits from `Socket.prototype`. */ PullSocket.prototype.__proto__ = Socket.prototype; /** * Pull sockets should not send messages. */ PullSocket.prototype.send = function(){ throw new Error('pull sockets should not send messages'); };