Global Functionfwcd.swift-utils 4.6.2Utils
all(promises:)
Returns a new promise that completes once all results from the individual promises have returned. This means that they possibly execute concurrently.
@discardableResult func all<T, E>(promises: [Promise<T, E>]) -> Promise<[T], E> where T : Sendable, E : Error