MCPcopy
hub / github.com/di-sukharev/opencommit / aborted

Method aborted

out/cli.cjs:10378–10384  ·  view source on GitHub ↗

* Returns `true` if this `AbortSignal`'s `AbortController` has signaled to abort, and `false` otherwise.

()

Source from the content-addressed store, hash-verified

10376 * Returns `true` if this `AbortSignal`'s `AbortController` has signaled to abort, and `false` otherwise.
10377 */
10378 get aborted() {
10379 const aborted = abortedFlags.get(this);
10380 if (typeof aborted !== "boolean") {
10381 throw new TypeError(`Expected 'this' to be an 'AbortSignal' object, but got ${this === null ? "null" : typeof this}`);
10382 }
10383 return aborted;
10384 }
10385 };
10386 eventTargetShim.defineEventAttribute(AbortSignal2.prototype, "abort");
10387 function createAbortSignal() {

Callers

nothing calls this directly

Calls 2

__classPrivateFieldGet9Function · 0.85
getMethod · 0.45

Tested by

no test coverage detected