MCPcopy Create free account
hub / github.com/fastify/fastify / cancel

Function cancel

test/route.7.test.js:72–75  ·  view source on GitHub ↗
(reason)

Source from the content-addressed store, hash-verified

70 controller.enqueue('Hello from web stream!')
71 },
72 cancel (reason) {
73 t.assert.strictEqual(reason, 'Stream cancelled by HEAD route')
74 throw expectedError
75 }
76 })
77 return webStream
78 }

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected