MCPcopy Index your code
hub / github.com/di-sukharev/opencommit / terminate

Method terminate

out/cli.cjs:14481–14486  ·  view source on GitHub ↗

* 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.

()

Source from the content-addressed store, hash-verified

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 },

Callers

nothing calls this directly

Tested by

no test coverage detected