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

Function InternalWritableStream

lib/internal/webstreams/writablestream.js:562–579  ·  view source on GitHub ↗
(start, write, close, abort, highWaterMark, size)

Source from the content-addressed store, hash-verified

560});
561
562function InternalWritableStream(start, write, close, abort, highWaterMark, size) {
563 ObjectSetPrototypeOf(this, WritableStream.prototype);
564 markTransferMode(this, false, true);
565 this[kType] = 'WritableStream';
566 this[kState] = createWritableStreamState();
567
568 const controller = new WritableStreamDefaultController(kSkipThrow);
569 setupWritableStreamDefaultController(
570 this,
571 controller,
572 start,
573 write,
574 close,
575 abort,
576 highWaterMark,
577 size,
578 );
579}
580
581ObjectSetPrototypeOf(InternalWritableStream.prototype, WritableStream.prototype);
582ObjectSetPrototypeOf(InternalWritableStream, WritableStream);

Callers

nothing calls this directly

Calls 3

markTransferModeFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…