public interface Executor
| Modifier and Type | Interface and Description |
|---|---|
static interface |
Executor.RunnableWithError |
| Modifier and Type | Method and Description |
|---|---|
<T> Promise<T> |
async(Callable<T> task)
Async method
|
Promise<Unit> |
async(Executor.RunnableWithError task)
Async method
|
<T> Promise<T> async(Callable<T> task)
T - the promised value typetask - the task to be asynchronously executedPromise<Unit> async(Executor.RunnableWithError task)
task - the task to be asynchronously executedCopyright © 2020. All rights reserved.