MCPcopy 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

createHookMethod · 0.80
addMethod · 0.65
hasMethod · 0.65
requireFunction · 0.50
setImmediateFunction · 0.50
enableMethod · 0.45
asyncIdMethod · 0.45
okMethod · 0.45

Tested by

no test coverage detected