tuweni / org.apache.tuweni.concurrent / AsyncCompletion / allOf

allOf

open static fun allOf(vararg cs: AsyncCompletion): AsyncCompletion (source)
open static fun allOf(cs: MutableCollection<AsyncCompletion>): AsyncCompletion (source)
open static fun allOf(cs: Stream<AsyncCompletion>): AsyncCompletion (source)

Returns an AsyncCompletion that completes when all of the given completions complete. If any completions complete exceptionally, then the resulting completion also completes exceptionally.

Parameters

cs - The completions to combine.

Return
A completion.