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

Function pull

test/web-api.test.js:367–371  ·  test/web-api.test.js::pull
(controller)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 2

errorMethod · 0.80
closeMethod · 0.80

Tested by

no test coverage detected