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

Function before

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

Source from the content-addressed store, hash-verified

54 },
55
56 before(asyncId) {
57 const type = typeMemory.get(asyncId);
58 if (type === undefined) return;
59
60 trace(kBeforeEvent, kTraceEventCategory, `${type}_CALLBACK`, asyncId);
61 },
62
63 after(asyncId) {
64 const type = typeMemory.get(asyncId);

Callers

nothing calls this directly

Calls 2

traceFunction · 0.85
getMethod · 0.65

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…