MCPcopy Create free account
hub / github.com/nodejs/undici / write

Function write

test/client-stream.js:713–716  ·  view source on GitHub ↗
(chunk, encoding, callback)

Source from the content-addressed store, hash-verified

711 method: 'GET'
712 }, () => new Writable({
713 write (chunk, encoding, callback) {
714 buf += chunk
715 callback()
716 }
717 }), (err, data) => {
718 t.ifError(err)
719 t.strictEqual(buf, 'hello')

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected