Completes this CompletableFuture with the given value if not
otherwise completed before the given timeout.
@param value the value to use upon timeout
@param timeout how long to wait before completing normally
with the given value, in units of {@code unit}
@param unit a {@code TimeUnit} determining how to interpret the
{@code timeout} parameter
@return this CompletableFuture
Completes this CompletableFuture with the given value if not otherwise completed before the given timeout.
@param value the value to use upon timeout @param timeout how long to wait before completing normally with the given value, in units of {@code unit} @param unit a {@code TimeUnit} determining how to interpret the {@code timeout} parameter @return this CompletableFuture