API 参考
    正在准备搜索索引...

    接口 CancelToken

    interface CancelToken {
        promise: Promise<Cancel>;
        reason?: Cancel;
        subscribe(listener: (cancel: any) => void): void;
        throwIfRequested(): void;
        toAbortSignal(): AbortSignal;
        unsubscribe(listener: (cancel: any) => void): void;
    }
    索引
    promise: Promise<Cancel>
    reason?: Cancel
    • 参数

      • listener: (cancel: any) => void

      返回 void

    • 返回 void

    • 返回 AbortSignal

    • 参数

      • listener: (cancel: any) => void

      返回 void