| 574 | } |
| 575 | |
| 576 | export interface CancelToken { |
| 577 | promise: Promise<Cancel>; |
| 578 | reason?: Cancel; |
| 579 | throwIfRequested(): void; |
| 580 | subscribe(listener: (cancel: Cancel | any) => void): void; |
| 581 | unsubscribe(listener: (cancel: Cancel | any) => void): void; |
| 582 | toAbortSignal(): AbortSignal; |
| 583 | } |
| 584 | |
| 585 | export interface CancelTokenSource { |
| 586 | token: CancelToken; |
no outgoing calls
no test coverage detected