Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ onsleepClose
Function
onsleepClose
test/async-hooks/test-pipewrap.js:55–62 ·
view source on GitHub ↗
()
Source
from the content-addressed store, hash-verified
53
}
54
55
function
onsleepClose() {
56
tick(1, () =>
57
checkInvocations(
58
processwrap,
59
{ init: 1, before: 1, after: 1 },
60
'processwrap while in onsleepClose callback'
),
61
);
62
}
63
64
process.on(
'exit'
, onexit);
65
Callers
nothing calls this directly
Calls
1
tick
Function · 0.50
Tested by
no test coverage detected