MCPcopy
hub / github.com/fastify/fastify / hookIterator

Function hookIterator

lib/hooks.js:406–409  ·  view source on GitHub ↗
(fn, request, reply, next)

Source from the content-addressed store, hash-verified

404}
405
406function hookIterator (fn, request, reply, next) {
407 if (reply.sent === true) return undefined
408 return fn(request, reply, next)
409}
410
411module.exports = {
412 Hooks,

Callers

nothing calls this directly

Calls 1

fnFunction · 0.50

Tested by

no test coverage detected