MCPcopy Create free account
hub / github.com/fontsource/fontsource / AbortController

Class AbortController

website/worker-configuration.d.ts:707–721  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

705 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortController)
706 */
707declare class AbortController {
708 constructor();
709 /**
710 * Returns the AbortSignal object associated with this object.
711 *
712 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortController/signal)
713 */
714 get signal(): AbortSignal;
715 /**
716 * Invoking this method will set this object's AbortSignal's aborted flag and signal to any observers that the associated activity is to be aborted.
717 *
718 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortController/abort)
719 */
720 abort(reason?: any): void;
721}
722/**
723 * A signal object that allows you to communicate with a DOM request (such as a Fetch) and abort it if required via an AbortController object.
724 *

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected