file: IOTask.aus

class: IOTask

[16:7] extends: FxObj

Wraps FXGL's IOTask, the dominant async primitive across fxgl-io and the OSService / UpdaterService. Every file system, save/load, networking, and process API returns an IOTask. Aussom users attach onSuccess, onFailure, and onCancel callbacks then call run (which executes synchronously on the calling thread) or hand the task to IOTaskExecutorService.runAsyncFX for off-thread execution that marshals results back to the FX thread.

Methods