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

Function read

test/parallel/test-whatwg-transformstream.js:153–158  ·  view source on GitHub ↗
(stream)

Source from the content-addressed store, hash-verified

151 const r = instream.pipeThrough(tstream);
152
153 async function read(stream) {
154 let res = '';
155 for await (const chunk of stream)
156 res += chunk;
157 return res;
158 }
159
160 read(r).then(common.mustCall((data) => {
161 const check = readFileSync(__filename);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…