If your task is long running, but some of it needs...
# tornadofx
e
If your task is long running, but some of it needs to run on the UI thread, you need to separate out these parts so that only the minimal amount of work is run on the UI thread.