• Returns a new promise that is rejected if the signal aborts before the original promise is settled

    Type Parameters

    • T

    Parameters

    • promise: Promise<T>
    • signal: AbortSignal

    Returns Promise<T>

Generated using TypeDoc