UniHandle

Undocumented in source.

Constructors

this
this(Executor executor, CompletableFuture!(V) dep, CompletableFuture!(T) src, BiFunction!(T, Throwable, V) fn)
Undocumented in source.

Members

Functions

tryFire
CompletableFuture!(V) tryFire(int mode)
Undocumented in source. Be warned that the author may not have intended to support it.

Variables

fn
BiFunction!(T, Throwable, V) fn;
Undocumented in source.

Inherited Members

From UniCompletion

executor
Executor executor;
Undocumented in source.
dep
AbstractCompletableFuture dep;
Undocumented in source.
src
AbstractCompletableFuture src;
Undocumented in source.
claim
bool claim()

Returns true if action can be run. Call only when known to be triggerable. Uses FJ tag bit to ensure that only one thread claims ownership. If async, starts as task -- a later call to tryFire will run action.

isLive
bool isLive()
Undocumented in source. Be warned that the author may not have intended to support it.

Meta