Umi — API References - v1.3.0
    Preparing search index...

    Interface GenericAbortSignal

    A generic definition of an AbortSignal that should be compatible with the native AbortSignal interface as well its polyfills.

    This allows the end-user to prematurely abort a (potentially long-running) request.

    interface GenericAbortSignal {
        aborted: boolean;
        addEventListener?: (...args: any) => any;
        onabort?: null | ((...args: any) => any);
        removeEventListener?: (...args: any) => any;
    }
    Index

    Properties

    aborted: boolean
    addEventListener?: (...args: any) => any
    onabort?: null | ((...args: any) => any)
    removeEventListener?: (...args: any) => any