MCPcopy
hub / github.com/exceljs/exceljs / write

Function write

lib/utils/stream-buf.js:203–209  ·  view source on GitHub ↗
(pipe)

Source from the content-addressed store, hash-verified

201
202 async _pipe(chunk) {
203 const write = function(pipe) {
204 return new Promise(resolve => {
205 pipe.write(chunk.toBuffer(), () => {
206 resolve();
207 });
208 });
209 };
210 await Promise.all(this.pipes.map(write));
211 },
212 _writeToBuffers(chunk) {

Callers

nothing calls this directly

Calls 3

emitMethod · 0.80
writeMethod · 0.65
toBufferMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…