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

Method signal

out/cli.cjs:12690–12698  ·  view source on GitHub ↗

* An `AbortSignal` that can be used to abort the pending write or close operation when the stream is aborted.

()

Source from the content-addressed store, hash-verified

12688 * An `AbortSignal` that can be used to abort the pending write or close operation when the stream is aborted.
12689 */
12690 get signal() {
12691 if (!IsWritableStreamDefaultController(this)) {
12692 throw defaultControllerBrandCheckException$2("signal");
12693 }
12694 if (this._abortController === void 0) {
12695 throw new TypeError("WritableStreamDefaultController.prototype.signal is not supported");
12696 }
12697 return this._abortController.signal;
12698 }
12699 /**
12700 * Closes the controlled writable stream, making all future interactions with it fail with the given error `e`.
12701 *

Callers

nothing calls this directly

Tested by

no test coverage detected