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

Function enabled

benchmark/async_hooks/promises.js:12–16  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

10 });
11 },
12 enabled() {
13 hook = createHook({
14 promiseResolve() {},
15 }).enable();
16 },
17 enabledWithDestroy() {
18 hook = createHook({
19 promiseResolve() {},

Callers

nothing calls this directly

Calls 2

createHookFunction · 0.50
enableMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…