* @readonly * @type {Promise }
()
| 418 | * @type {Promise<void>} |
| 419 | */ |
| 420 | get ready() { |
| 421 | if (!isWritableStreamDefaultWriter(this)) |
| 422 | return PromiseReject(new ERR_INVALID_THIS('WritableStreamDefaultWriter')); |
| 423 | return writerReadyPromise(this).promise; |
| 424 | } |
| 425 | |
| 426 | /** |
| 427 | * @param {any} [reason] |
nothing calls this directly
no test coverage detected