(init, context)
| 14183 | return new TypeError(`ReadableStream.prototype.${name} can only be used on a ReadableStream`); |
| 14184 | } |
| 14185 | function convertQueuingStrategyInit(init, context) { |
| 14186 | assertDictionary(init, context); |
| 14187 | const highWaterMark = init === null || init === void 0 ? void 0 : init.highWaterMark; |
| 14188 | assertRequiredField(highWaterMark, "highWaterMark", "QueuingStrategyInit"); |
| 14189 | return { |
| 14190 | highWaterMark: convertUnrestrictedDouble(highWaterMark) |
| 14191 | }; |
| 14192 | } |
| 14193 | const byteLengthSizeFunction = (chunk) => { |
| 14194 | return chunk.byteLength; |
| 14195 | }; |
no test coverage detected
searching dependent graphs…