andAllComplete(_:promise:)

Completes a promise when all of the provided EventLoopFutures have completed.

EventLoopFuture.swift:1533
static func andAllComplete(_ futures: [EventLoopFuture<Value>], promise: EventLoopPromise<Void>)

Parameters

futures

An array of homogenous EventLoopFutures to wait for.

promise

The EventLoopPromise to succeed when all futures have completed.

The promise will always be succeeded, regardless of the outcome of the individual futures.

If the results are required, use whenAllComplete instead.