CompletableFuture

Constructors

this
this()
Undocumented in source.
this
this(T r)
Undocumented in source.

Members

Functions

cancel
void cancel()
Undocumented in source. Be warned that the author may not have intended to support it.
complete
bool complete(T value)

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

completeExceptionally
bool completeExceptionally(Throwable ex)
Undocumented in source. Be warned that the author may not have intended to support it.
get
T get()
Undocumented in source. Be warned that the author may not have intended to support it.
isCancelled
bool isCancelled()
Undocumented in source. Be warned that the author may not have intended to support it.
isDone
bool isDone()
Undocumented in source. Be warned that the author may not have intended to support it.
thenAccept
CompletableFuture!T thenAccept(Consumer!T action)
Undocumented in source. Be warned that the author may not have intended to support it.

Meta