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

Function enableHooks

lib/internal/async_hooks.js:377–381  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

375
376let wantPromiseHook = false;
377function enableHooks() {
378 async_hook_fields[kCheck] += 1;
379
380 setCallbackTrampoline(callbackTrampoline);
381}
382
383let stopPromiseHook;
384function updatePromiseHookMode() {

Callers 1

enableMethod · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…