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

Function InternalReadableByteStream

lib/internal/webstreams/readablestream.js:1350–1364  ·  view source on GitHub ↗
(start, pull, cancel)

Source from the content-addressed store, hash-verified

1348}
1349
1350function InternalReadableByteStream(start, pull, cancel) {
1351 ObjectSetPrototypeOf(this, ReadableStream.prototype);
1352 markTransferMode(this, false, true);
1353 this[kType] = 'ReadableStream';
1354 this[kState] = createReadableStreamState();
1355 const controller = new ReadableByteStreamController(kSkipThrow);
1356 setupReadableByteStreamController(
1357 this,
1358 controller,
1359 start,
1360 pull,
1361 cancel,
1362 0,
1363 undefined);
1364}
1365
1366ObjectSetPrototypeOf(InternalReadableByteStream.prototype, ReadableStream.prototype);
1367ObjectSetPrototypeOf(InternalReadableByteStream, 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…