tuweni / org.apache.tuweni.concurrent / AsyncResult / allOf

allOf

open static fun allOf(vararg rs: AsyncResult<*>!): AsyncCompletion! (source)

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

Parameters

rs - AsyncResult<*>!: The results to combine.

Return
AsyncCompletion!: A completion.

open static fun allOf(rs: MutableCollection<out AsyncResult<*>!>!): AsyncCompletion! (source)

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

Parameters

rs - MutableCollection<out AsyncResult<*>!>!: The results to combine.

Return
AsyncCompletion!: A completion.

open static fun allOf(rs: Stream<out AsyncResult<*>!>!): AsyncCompletion! (source)

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

Parameters

rs - Stream<out AsyncResult<*>!>!: The results to combine.

Return
AsyncCompletion!: A completion.