file: Async.aus

class: Async

[21:14] static extends: object

Helper for FXGL's Async singleton (com.almasb.fxgl.core.concurrent.Async), the default Executor used by FXGL for background work. Distinct from the existing IOTaskExecutorService wrapper: Async runs raw Callables / Runnables on a cached thread pool (or the JavaFX thread for the FX variants) without the IOTask onSuccess/onFailure scaffolding. Aussom users typically reach Async through fxgl.getExecutor() (which returns this object); this helper provides the convenience static-style API.

Methods