Modifier and Type | Method and Description |
---|---|
<R> TaskChain<R> |
TaskChain.asyncFirstFuture(TaskChainTasks.FutureFirstTask<R> task)
TaskChain#syncFirstFuture(FutureFirstTask) but ran off main thread |
<R> TaskChain<R> |
TaskChain.currentFirstFuture(TaskChainTasks.FutureFirstTask<R> task)
TaskChain#syncFirstFuture(FutureFirstTask) but ran on current thread the Chain was created on |
<R> TaskChain<R> |
TaskChain.syncFirstFuture(TaskChainTasks.FutureFirstTask<R> task)
Execute a task on the main thread, with no previous input, that will return a Future to signal completion
It's important you don't perform blocking operations in this method.
|
Copyright © 2018. All rights reserved.