UniAccept

Undocumented in source.

Constructors

this
this(Executor executor, CompletableFuture!(void) dep, CompletableFuture!(T) src, ConsumerT fn)
Undocumented in source.

Members

Aliases

ConsumerT
alias ConsumerT = Action
Undocumented in source.
ConsumerT
alias ConsumerT = Consumer!(T)
Undocumented in source.

Functions

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

Variables

fn
ConsumerT 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