Function allFulfilled

  • Obtains the values of all fulfilled promises. If there are rejections (and ignoreErrors is false), throws a combined error of all rejected promises.

    Type Parameters

    • T

    Parameters

    • promises: Promise<T>[]
    • ignoreErrors: boolean = false

    Returns Promise<T[]>