Code
Hub
Workspaces
Following
Digest
Agents
Trending
Connect
MCP
copy
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
run
Function · 0.70
Calls
3
write
Method · 0.45
once
Method · 0.45
end
Method · 0.45
Tested by
no test coverage detected
Used in the wild
real call sites across dependent graphs
searching dependent graphs…