• Returns a promise that is fulfilled with an array containing the fulfillment value of each promise, or is rejected with the same rejection reason as the first promise to be rejected.

    Returns

    Type Parameters

    • T

    Parameters

    • promises: PromiseLike<T>[]

    Returns ArrayPromise<T>

  • Returns a promise that is fulfilled with an array containing the fulfillment value of each promise, or is rejected with the same rejection reason as the first promise to be rejected.

    Returns

    Type Parameters

    • T

    Parameters

    • promise: PromiseLike<T>
    • Rest ...rest: PromiseLike<T>[]

    Returns ArrayPromise<T>

Generated using TypeDoc