MCPcopy Create free account
hub / github.com/NativeScript/NativeScript / aborted

Method aborted

packages/core/abortcontroller/abortsignal.ts:29–35  ·  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

27 * Returns `true` if this `AbortSignal`'s `AbortController` has signaled to abort, and `false` otherwise.
28 */
29 public get aborted(): boolean {
30 const aborted = abortedFlags.get(this);
31 if (typeof aborted !== 'boolean') {
32 throw new TypeError(`Expected 'this' to be an 'AbortSignal' object, but got ${this === null ? 'null' : typeof this}`);
33 }
34 return aborted;
35 }
36}
37
38/**

Callers

nothing calls this directly

Calls 1

getMethod · 0.65

Tested by

no test coverage detected