• Await all promises and resolve if non of them failed. Reject if at least one of them was rejected, but only once all of them are finished. Throws an error consisting of a list of reasons.


    • promises: Promise<any>[]

      Promises to settle.

    • Optional errorMessage: string

      Message to use as introductory text of the error if an error occurs.

      Copyright Ⓒ 2024 SAP SE or an SAP affiliate company. All rights reserved.

    Returns Promise<void>