| Package | Description |
|---|---|
| com.almasb.fxgl.app | |
| com.almasb.fxgl.core.concurrent |
| Modifier and Type | Method and Description |
|---|---|
<T> Async<T> |
Executor.async(Callable<T> func)
Instantly starts a non-blocking async task.
|
Async<Void> |
Executor.async(Runnable func)
Instantly starts a non-blocking async task.
|
| Modifier and Type | Method and Description |
|---|---|
static <T> Async<T> |
Async.start(Callable<T> func)
Starts an async task in a background thread.
|
static Async<Void> |
Async.start(Runnable func)
Starts an async task in a background thread.
|
static <T> Async<T> |
Async.startFX(Callable<T> func)
Runs the task on the JavaFX UI Thread.
|
static Async<Void> |
Async.startFX(Runnable func)
Runs the task on the JavaFX UI Thread.
|
Copyright © 2017. All rights reserved.