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

Function read

test/request-error.test.js:527–529  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

525 fastify.get('/', async (req, reply) => {
526 const stream = new Readable({
527 read () {
528 this.push('hello')
529 }
530 })
531 process.nextTick(() => stream.destroy(new Error('stream error')))
532

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected