MCPcopy Index your code
hub / github.com/nodejs/node / transform

Function transform

test/parallel/test-stream-duplex-readable-end.js:19–22  ·  view source on GitHub ↗
(chunk, output, fn)

Source from the content-addressed store, hash-verified

17const dst = new stream.Transform({
18 highWaterMark: 16 * 1024,
19 transform(chunk, output, fn) {
20 this.push(null);
21 fn();
22 }
23});
24
25src.pipe(dst);

Callers

nothing calls this directly

Calls 2

fnFunction · 0.70
pushMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…