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

Function createReadableStreamState

lib/internal/webstreams/readablestream.js:1392–1408  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1390// ---- ReadableStream Implementation
1391
1392function createReadableStreamState() {
1393 return {
1394 __proto__: null,
1395 closedPromise: undefined,
1396 disturbed: false,
1397 reader: undefined,
1398 state: 'readable',
1399 storedError: undefined,
1400 transfer: {
1401 __proto__: null,
1402 writable: undefined,
1403 port1: undefined,
1404 port2: undefined,
1405 promise: undefined,
1406 },
1407 };
1408}
1409
1410function readableStreamFromIterable(iterable) {
1411 let stream;

Callers 4

constructorMethod · 0.85
InternalReadableStreamFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…