all(promises:)

Returns a new promise that completes once all results from the individual promises have returned. This means that they possibly execute concurrently.

PromiseUtils.swift:7
@discardableResult func all<T, E>(promises: [Promise<T, E>]) -> Promise<[T], E> where T : Sendable, E : Error