MCPcopy
hub / github.com/fastify/fastify / pull

Function pull

test/web-api.test.js:367–371  ·  view source on GitHub ↗
(controller)

Source from the content-addressed store, hash-verified

365 controller.enqueue('hello')
366 },
367 pull (controller) {
368 setTimeout(() => {
369 controller.error(new Error('stream error'))
370 }, 10)
371 }
372 })
373 reply.header('content-type', 'text/plain').send(stream)
374 })

Callers

nothing calls this directly

Calls 2

errorMethod · 0.80
closeMethod · 0.80

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…