MCPcopy
hub / github.com/fastify/fastify / init

Function init

test/async_hooks.test.js:10–14  ·  view source on GitHub ↗
(asyncId, type, triggerAsyncId, resource)

Source from the content-addressed store, hash-verified

8
9createHook({
10 init (asyncId, type, triggerAsyncId, resource) {
11 if (type === 'content-type-parser:run') {
12 remainingIds.add(asyncId)
13 }
14 },
15 destroy (asyncId) {
16 remainingIds.delete(asyncId)
17 }

Callers

nothing calls this directly

Calls 1

addMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…