MCPcopy
hub / github.com/exceljs/exceljs / iterate-stream.js

File iterate-stream.js

lib/utils/iterate-stream.js:None–None  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

1module.exports = async function* iterateStream(stream) {
2 const contents = [];
3 stream.on('data', data => contents.push(data));
4

Callers

nothing calls this directly

Calls 5

onceFunction · 0.85
onMethod · 0.80
pushMethod · 0.45
resumeMethod · 0.45
pauseMethod · 0.45

Tested by

no test coverage detected