MCPcopy Index your code
hub / github.com/nodejs/node / constructor

Method constructor

lib/internal/socket_list.js:9–14  ·  view source on GitHub ↗
(child, key)

Source from the content-addressed store, hash-verified

7// This object keeps track of the sockets that are sent
8class SocketListSend extends EventEmitter {
9 constructor(child, key) {
10 super();
11 this.key = key;
12 this.child = child;
13 child.once('exit', () => this.emit('exit', this));
14 }
15
16 _request(msg, cmd, swallowErrors, callback) {
17 const self = this;

Callers

nothing calls this directly

Calls 2

onceMethod · 0.45
emitMethod · 0.45

Tested by

no test coverage detected