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

Method writevSync

lib/internal/streams/iter/push.js:595–601  ·  view source on GitHub ↗
(chunks)

Source from the content-addressed store, hash-verified

593 }
594
595 writevSync(chunks) {
596 if (!ArrayIsArray(chunks)) {
597 throw new ERR_INVALID_ARG_TYPE('chunks', 'Array', chunks);
598 }
599 const bytes = convertChunks(chunks);
600 return this.#queue.writeSync(bytes);
601 }
602
603 end(options) {
604 const result = this.#queue.end();

Callers 3

_writevFunction · 0.45
pipeToSyncFunction · 0.45
writeBatchFunction · 0.45

Calls 2

convertChunksFunction · 0.85
writeSyncMethod · 0.45

Tested by

no test coverage detected