* Closes the readable side and errors the writable side of the controlled transform stream. This is useful when the * transformer only needs to consume a portion of the chunks written to the writable side.
()
| 14479 | * transformer only needs to consume a portion of the chunks written to the writable side. |
| 14480 | */ |
| 14481 | terminate() { |
| 14482 | if (!IsTransformStreamDefaultController(this)) { |
| 14483 | throw defaultControllerBrandCheckException("terminate"); |
| 14484 | } |
| 14485 | TransformStreamDefaultControllerTerminate(this); |
| 14486 | } |
| 14487 | } |
| 14488 | Object.defineProperties(TransformStreamDefaultController2.prototype, { |
| 14489 | enqueue: { enumerable: true }, |
nothing calls this directly
no test coverage detected