Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ hasHooks
Function
hasHooks
lib/internal/async_hooks.js:479–481 ·
view source on GitHub ↗
(key)
Source
from the content-addressed store, hash-verified
477
}
478
479
function
hasHooks(key) {
480
return
async_hook_fields[key] > 0;
481
}
482
483
function
enabledHooksExist() {
484
return
active_hooks.array.length > 0;
Callers
11
callbackTrampoline
Function · 0.85
promiseAfterHook
Function · 0.85
initHooksExist
Function · 0.85
afterHooksExist
Function · 0.85
destroyHooksExist
Function · 0.85
promiseResolveHooksExist
Function · 0.85
emitInitScript
Function · 0.85
emitBeforeScript
Function · 0.85
emitAfterScript
Function · 0.85
emitDestroyScript
Function · 0.85
hasAsyncIdStack
Function · 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…