tuweni / org.apache.tuweni.concurrent / AsyncResult / completed

completed

open static fun <T : Any!> completed(@Nullable value: T?): AsyncResult<T>! (source)

Return an already completed result containing the given value.

Parameters

value - T?: The value.

- The type of the value.

Return
AsyncResult<T>!: A completed result.