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

allOf

open static fun allOf(vararg rs: AsyncResult<*>): AsyncCompletion (source)
open static fun allOf(rs: MutableCollection<out AsyncResult<*>>): AsyncCompletion (source)
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 - The results to combine.

Return
A completion.