| Modifier and Type | Method and Description |
|---|---|
<T> Async<T> |
async(Callable<T> func)
Instantly starts a non-blocking async task.
|
Async<Void> |
async(Runnable func)
Instantly starts a non-blocking async task.
|
ScheduledFuture<?> |
schedule(Runnable action,
javafx.util.Duration delay)
Schedule a single action to run after delay.
|
ScheduledFuture<?> schedule(Runnable action, javafx.util.Duration delay)
action - the actiondelay - delay<T> Async<T> async(Callable<T> func)
T - return type of the code blockfunc - the code to runCopyright © 2017. All rights reserved.