MCPcopy
hub / github.com/fastify/fastify / handler

Function handler

test/types/logger.tst.ts:91–94  ·  test/types/logger.tst.ts::handler
(request)

Source from the content-addressed store, hash-verified

89 method: class="st">'GET',
90 url: class="st">'/',
91 handler (request) {
92 expect(this.log).type.toBe<P.Logger>()
93 expect(request.log).type.toBe<P.Logger>()
94 }
95})
96
97serverWithPino.get(class="st">'/', function (request) {

Callers 2

serverFactoryFunction · 0.70
setupFunction · 0.50

Calls

no outgoing calls

Tested by 1

setupFunction · 0.40