MCPcopy Create free account
hub / github.com/idosal/git-mcp / AbortController

Class AbortController

worker-configuration.d.ts:716–730  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

714 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortController)
715 */
716declare class AbortController {
717 constructor();
718 /**
719 * Returns the AbortSignal object associated with this object.
720 *
721 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortController/signal)
722 */
723 get signal(): AbortSignal;
724 /**
725 * 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.
726 *
727 * [MDN Reference](https://developer.mozilla.org/docs/Web/API/AbortController/abort)
728 */
729 abort(reason?: any): void;
730}
731/**
732 * 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.
733 *

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected