CompletableFuture.complete

If not already completed, sets the value returned by {@link #get()} and related methods to the given value.

@param value the result value @return {@code true} if this invocation caused this CompletableFuture to transition to a completed state, else {@code false}

  1. bool complete()
  2. bool complete(T value)
    class CompletableFuture(T)
    static if(!(is(T == void)))
    bool
    complete
    ()

Meta