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

allOf

open static fun allOf(vararg cs: 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 - AsyncCompletion!: The completions to combine.

Return
AsyncCompletion!: A completion.

open static fun allOf(cs: MutableCollection<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 - MutableCollection<AsyncCompletion!>!: The completions to combine.

Return
AsyncCompletion!: A completion.

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 - Stream<AsyncCompletion!>!: The completions to combine.

Return
AsyncCompletion!: A completion.