(start, pull, cancel)
| 1367 | ObjectSetPrototypeOf(InternalReadableByteStream, ReadableStream); |
| 1368 | |
| 1369 | function createReadableByteStream(start, pull, cancel) { |
| 1370 | const stream = new InternalReadableByteStream(start, pull, cancel); |
| 1371 | |
| 1372 | // For spec compliance the InternalReadableByteStream must be a ReadableStream |
| 1373 | stream.constructor = ReadableStream; |
| 1374 | return stream; |
| 1375 | } |
| 1376 | |
| 1377 | const isReadableStream = |
| 1378 | isBrandCheck('ReadableStream'); |
no outgoing calls
no test coverage detected
searching dependent graphs…