Code
Hub
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
hub
/
github.com/fastify/fastify
/ _addHook
Function
_addHook
fastify.js:611–614 ·
view source on GitHub ↗
(name, fn)
Source
from the content-addressed store, hash-verified
609
return
this
610
611
function
_addHook (name, fn) {
612
this[kHooks].add(name, fn)
613
this[kChildren].forEach(child => _addHook.call(child, name, fn))
614
}
615
}
616
617
// wrapper that we expose to the user for schemas handling
Callers
nothing calls this directly
Calls
1
add
Method · 0.80
Tested by
no test coverage detected