(startAlgorithm, writeAlgorithm, closeAlgorithm, abortAlgorithm, highWaterMark = 1, sizeAlgorithm = () => 1)
| 12216 | return new WritableStreamDefaultWriter2(stream4); |
| 12217 | } |
| 12218 | function CreateWritableStream(startAlgorithm, writeAlgorithm, closeAlgorithm, abortAlgorithm, highWaterMark = 1, sizeAlgorithm = () => 1) { |
| 12219 | const stream4 = Object.create(WritableStream2.prototype); |
| 12220 | InitializeWritableStream(stream4); |
| 12221 | const controller = Object.create(WritableStreamDefaultController2.prototype); |
| 12222 | SetUpWritableStreamDefaultController(stream4, controller, startAlgorithm, writeAlgorithm, closeAlgorithm, abortAlgorithm, highWaterMark, sizeAlgorithm); |
| 12223 | return stream4; |
| 12224 | } |
| 12225 | function InitializeWritableStream(stream4) { |
| 12226 | stream4._state = "writable"; |
| 12227 | stream4._storedError = void 0; |
no test coverage detected
searching dependent graphs…