MCPcopy Create free account
hub / github.com/nodejs/node / sendClosed

Function sendClosed

test/parallel/test-child-process-fork-getconnections.js:33–35  ·  view source on GitHub ↗
(id)

Source from the content-addressed store, hash-verified

31
32 process.on('message', common.mustCall((m, socket) => {
33 function sendClosed(id) {
34 process.send({ id: id, status: 'closed' });
35 }
36
37 if (m.cmd === 'new') {
38 assert(socket);

Calls 1

sendMethod · 0.65

Tested by

no test coverage detected