* If the reader is active, behaves the same as WritableStream.abort | stream.abort(reason).
(reason = void 0)
| 12511 | * If the reader is active, behaves the same as {@link WritableStream.abort | stream.abort(reason)}. |
| 12512 | */ |
| 12513 | abort(reason = void 0) { |
| 12514 | if (!IsWritableStreamDefaultWriter(this)) { |
| 12515 | return promiseRejectedWith(defaultWriterBrandCheckException("abort")); |
| 12516 | } |
| 12517 | if (this._ownerWritableStream === void 0) { |
| 12518 | return promiseRejectedWith(defaultWriterLockException("abort")); |
| 12519 | } |
| 12520 | return WritableStreamDefaultWriterAbort(this, reason); |
| 12521 | } |
| 12522 | /** |
| 12523 | * If the reader is active, behaves the same as {@link WritableStream.close | stream.close()}. |
| 12524 | */ |
nothing calls this directly
no test coverage detected