(start, pull, cancel, highWaterMark = 1, size = defaultSizeAlgorithm)
| 1340 | ObjectSetPrototypeOf(InternalReadableStream, ReadableStream); |
| 1341 | |
| 1342 | function createReadableStream(start, pull, cancel, highWaterMark = 1, size = defaultSizeAlgorithm) { |
| 1343 | const stream = new InternalReadableStream(start, pull, cancel, highWaterMark, size); |
| 1344 | |
| 1345 | // For spec compliance the InternalReadableStream must be a ReadableStream |
| 1346 | stream.constructor = ReadableStream; |
| 1347 | return stream; |
| 1348 | } |
| 1349 | |
| 1350 | function InternalReadableByteStream(start, pull, cancel) { |
| 1351 | ObjectSetPrototypeOf(this, ReadableStream.prototype); |
no outgoing calls
no test coverage detected
searching dependent graphs…