complete

fun complete(value: V): Boolean

If not already completed, sets the value returned by get and related methods to the given value.

Return

true if this invocation caused this CompletableFuture to transition to a completed state, else false

Parameters

value

the result value