UNPKG

abort-utils

Version:

Utility functions to use and combine `AbortSignal` and `AbortController` with Promises

10 lines (9 loc) 284 B
export declare class ReusableAbortController { private controller; get signal(): AbortSignal; abortAndReset(reason?: any): void; } /** * @deprecated Use `ReusableAbortController` instead. */ export declare const RepeatableAbortController: typeof ReusableAbortController;