Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
Indexed
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ createHook
Function
createHook
lib/async_hooks.js:169–171 ·
view source on GitHub ↗
(fns)
Source
from the content-addressed store, hash-verified
167
168
169
function
createHook(fns) {
170
return
new
AsyncHook(fns);
171
}
172
173
174
// Embedder API //
Callers
15
domain.js
File · 0.70
main
Function · 0.50
disabled
Function · 0.50
enabled
Function · 0.50
enabledWithDestroy
Function · 0.50
enabledWithInitOnly
Function · 0.50
buildCurrentResource
Function · 0.50
buildDestroy
Function · 0.50
test-async-hooks-execution-async-resource-await.js
File · 0.50
test-messageport-hasref.js
File · 0.50
test-async-hooks-execution-async-resource.js
File · 0.50
test-stream-finished-bindAsyncResource-path.js
File · 0.50
Calls
no outgoing calls
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…