Function promiseAllWithErrors

  • Type Parameters

    • T

    • ErrorType = unknown

    Parameters

    • promises: Promise<T>[]

    Returns Promise<[T[], ErrorType[]]>

    pairs of arrays. The first array being the succesful results, and the second ones is the errors of the failing ones.

    Remarks

    The results might be un ordered.

Generated using TypeDoc