* Returns `true` if this `AbortSignal`'s `AbortController` has signaled to abort, and `false` otherwise.
()
| 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() { |
nothing calls this directly
no test coverage detected