* @param {any} [error]
(error = undefined)
| 1282 | * @param {any} [error] |
| 1283 | */ |
| 1284 | error(error = undefined) { |
| 1285 | if (!isReadableByteStreamController(this)) |
| 1286 | throw new ERR_INVALID_THIS('ReadableByteStreamController'); |
| 1287 | readableByteStreamControllerError(this, error); |
| 1288 | } |
| 1289 | |
| 1290 | [kCancel](reason) { |
| 1291 | return readableByteStreamControllerCancelSteps(this, reason); |
no test coverage detected