Modifier and Type | Method and Description |
---|---|
<R> TaskChain<R> |
TaskChain.asyncFirst(TaskChainTasks.FirstTask<R> task)
TaskChain#syncFirst(FirstTask) but ran off main thread |
<R> TaskChain<List<R>> |
TaskChain.asyncFirstFutures(TaskChainTasks.FirstTask<List<CompletableFuture<R>>> task)
Executes a Task off the Main thread that provides a list of Futures, and holds processing
of the chain until all of the futures completes.
|
<R> TaskChain<R> |
TaskChain.currentFirst(TaskChainTasks.FirstTask<R> task)
TaskChain#syncFirst(FirstTask) but ran on current thread the Chain was created on |
<R> TaskChain<List<R>> |
TaskChain.currentFirstFutures(TaskChainTasks.FirstTask<List<CompletableFuture<R>>> task)
Executes a Task on the current thread that provides a list of Futures, and holds processing
of the chain until all of the futures completes.
|
<R> TaskChain<R> |
TaskChain.syncFirst(TaskChainTasks.FirstTask<R> task)
Execute task on main thread, with no input, returning an output
|
<R> TaskChain<List<R>> |
TaskChain.syncFirstFutures(TaskChainTasks.FirstTask<List<CompletableFuture<R>>> task)
Executes a Task on the Main thread that provides a list of Futures, and holds processing
of the chain until all of the futures completes.
|
Copyright © 2018. All rights reserved.