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

Function createWritableStream

lib/internal/webstreams/writablestream.js:584–590  ·  view source on GitHub ↗
(start, write, close, abort, highWaterMark = 1, size = defaultSizeAlgorithm)

Source from the content-addressed store, hash-verified

582ObjectSetPrototypeOf(InternalWritableStream, WritableStream);
583
584function createWritableStream(start, write, close, abort, highWaterMark = 1, size = defaultSizeAlgorithm) {
585 const stream = new InternalWritableStream(start, write, close, abort, highWaterMark, size);
586
587 // For spec compliance the InternalWritableStream must be a WritableStream
588 stream.constructor = WritableStream;
589 return stream;
590}
591
592const isWritableStream =
593 isBrandCheck('WritableStream');

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…