Code
Hub
Trending
Digest
Workspaces
Connect
Indexed graphs
Engine
MCP
copy
Index your code
hub
/
github.com/nodejs/node
/ write
Function
write
benchmark/streams/iter-throughput-broadcast.js:41–41 ·
view source on GitHub ↗
(data, enc, cb)
Source
from the content-addressed store, hash-verified
39
40
for
(
let
c = 0; c < numConsumers; c++) {
41
const
w =
new
Writable({ write(data, enc, cb) { cb(); } });
42
source.pipe(w);
43
w.on(
'finish'
, () => {
if
(++finished === numConsumers) cb(); });
44
sinks.push(w);
Callers
1
run
Function · 0.70
Calls
5
cb
Function · 0.50
min
Method · 0.45
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…