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

Function InternalReadableStream

lib/internal/webstreams/readablestream.js:1323–1337  ·  view source on GitHub ↗
(start, pull, cancel, highWaterMark, size)

Source from the content-addressed store, hash-verified

1321});
1322
1323function InternalReadableStream(start, pull, cancel, highWaterMark, size) {
1324 ObjectSetPrototypeOf(this, ReadableStream.prototype);
1325 markTransferMode(this, false, true);
1326 this[kType] = 'ReadableStream';
1327 this[kState] = createReadableStreamState();
1328 const controller = new ReadableStreamDefaultController(kSkipThrow);
1329 setupReadableStreamDefaultController(
1330 this,
1331 controller,
1332 start,
1333 pull,
1334 cancel,
1335 highWaterMark,
1336 size);
1337}
1338
1339ObjectSetPrototypeOf(InternalReadableStream.prototype, ReadableStream.prototype);
1340ObjectSetPrototypeOf(InternalReadableStream, ReadableStream);

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…