* An `AbortSignal` that can be used to abort the pending write or close operation when the stream is aborted.
()
| 12688 | * An `AbortSignal` that can be used to abort the pending write or close operation when the stream is aborted. |
| 12689 | */ |
| 12690 | get signal() { |
| 12691 | if (!IsWritableStreamDefaultController(this)) { |
| 12692 | throw defaultControllerBrandCheckException$2("signal"); |
| 12693 | } |
| 12694 | if (this._abortController === void 0) { |
| 12695 | throw new TypeError("WritableStreamDefaultController.prototype.signal is not supported"); |
| 12696 | } |
| 12697 | return this._abortController.signal; |
| 12698 | } |
| 12699 | /** |
| 12700 | * Closes the controlled writable stream, making all future interactions with it fail with the given error `e`. |
| 12701 | * |
nothing calls this directly
no test coverage detected