Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ test-async-hooks-destroy-on-gc.js
File
test-async-hooks-destroy-on-gc.js
test/parallel/test-async-hooks-destroy-on-gc.js:None–None ·
view source on GitHub ↗
Source
from the content-addressed store, hash-verified
1
'use strict'
;
2
// Flags: --expose_gc
3
4
// This test ensures that userland-only AsyncResources cause a destroy event to
Callers
nothing calls this directly
Calls
8
createHook
Method · 0.80
add
Method · 0.65
has
Method · 0.65
require
Function · 0.50
setImmediate
Function · 0.50
enable
Method · 0.45
asyncId
Method · 0.45
ok
Method · 0.45
Tested by
no test coverage detected