* @readonly * @type {boolean}
()
| 240 | * @type {boolean} |
| 241 | */ |
| 242 | get locked() { |
| 243 | if (!isWritableStream(this)) |
| 244 | throw new ERR_INVALID_THIS('WritableStream'); |
| 245 | return isWritableStreamLocked(this); |
| 246 | } |
| 247 | |
| 248 | /** |
| 249 | * @param {any} [reason] |
nothing calls this directly
no test coverage detected