MCPcopy Index your code
hub / github.com/nodejs/node / emitDestroyScript

Function emitDestroyScript

lib/internal/async_hooks.js:534–539  ·  view source on GitHub ↗
(asyncId)

Source from the content-addressed store, hash-verified

532
533
534function emitDestroyScript(asyncId) {
535 // Return early if there are no destroy callbacks, or invalid asyncId.
536 if (!hasHooks(kDestroy) || !(asyncId > 0))
537 return;
538 async_wrap.queueDestroyAsyncId(asyncId);
539}
540
541
542function hasAsyncIdStack() {

Callers

nothing calls this directly

Calls 2

hasHooksFunction · 0.85
queueDestroyAsyncIdMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…