MCPcopy
hub / github.com/fastify/fastify / iterator

Function iterator

test/internals/hook-runner.test.js:13–15  ·  view source on GitHub ↗
(fn, a, b, done)

Source from the content-addressed store, hash-verified

11 hookRunner([fn1, fn2, fn3], 'a', 'b', done)
12
13 function iterator (fn, a, b, done) {
14 return fn(a, b, done)
15 }
16
17 function fn1 (a, b, done) {
18 t.assert.strictEqual(a, 'a')

Callers 1

nextFunction · 0.85

Calls 1

fnFunction · 0.70

Tested by

no test coverage detected