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

Function write

benchmark/streams/compose.js:87–95  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

85 write();
86
87 function write() {
88 while (remaining-- > 0) {
89 if (!composed.write(chunk)) {
90 composed.once('drain', write);
91 return;
92 }
93 }
94 composed.end();
95 }
96 }
97
98 run();

Callers 1

runFunction · 0.70

Calls 3

writeMethod · 0.45
onceMethod · 0.45
endMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…