* Returns a promise that will be fulfilled when the stream becomes closed, or rejected if the stream ever errors or * the writer’s lock is released before the stream finishes closing.
()
| 12471 | * the writer’s lock is released before the stream finishes closing. |
| 12472 | */ |
| 12473 | get closed() { |
| 12474 | if (!IsWritableStreamDefaultWriter(this)) { |
| 12475 | return promiseRejectedWith(defaultWriterBrandCheckException("closed")); |
| 12476 | } |
| 12477 | return this._closedPromise; |
| 12478 | } |
| 12479 | /** |
| 12480 | * Returns the desired size to fill the stream’s internal queue. It can be negative, if the queue is over-full. |
| 12481 | * A producer can use this information to determine the right amount of data to write. |
nothing calls this directly
no test coverage detected