Modifier and Type | Interface and Description |
---|---|
static interface |
TaskChainTasks.FutureFirstTask<R>
A Task that returns a future to be completed later.
|
static interface |
TaskChainTasks.FutureGenericTask
A generic task that expects no input or output, but uses a future style API
to control moving to the next task.
|
Modifier and Type | Method and Description |
---|---|
<R> TaskChain<R> |
TaskChain.asyncFuture(TaskChainTasks.FutureTask<R,T> task)
TaskChain#syncFuture(FutureTask) but the future provider is ran off main thread |
<R> TaskChain<R> |
TaskChain.currentFuture(TaskChainTasks.FutureTask<R,T> task)
TaskChain#syncFuture(FutureTask) but the future provider is ran on current thread the Chain was created on |
<R> TaskChain<R> |
TaskChain.syncFuture(TaskChainTasks.FutureTask<R,T> task)
Execute a task on the main thread, with the last output as the input to the future provider,
that will return a Future to signal completion.
|
Copyright © 2018. All rights reserved.