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

Function destroy

lib/internal/trace_events_async_hooks.js:70–78  ·  view source on GitHub ↗
(asyncId)

Source from the content-addressed store, hash-verified

68 },
69
70 destroy(asyncId) {
71 const type = typeMemory.get(asyncId);
72 if (type === undefined) return;
73
74 trace(kEndEvent, kTraceEventCategory, type, asyncId);
75
76 // Cleanup asyncId to type map
77 typeMemory.delete(asyncId);
78 },
79 });
80
81 return {

Callers

nothing calls this directly

Calls 3

traceFunction · 0.85
getMethod · 0.65
deleteMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…