Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
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);
Callers
1
test-child-process-fork-getconnections.js
File · 0.85
Calls
1
send
Method · 0.65
Tested by
no test coverage detected