I settled on having all of my `runAsync` calls in ...
# tornadofx
s
I settled on having all of my
runAsync
calls in the controller, and the controller methods returning a
Task
, so the view can call
ui
as needed. This way the controller (which may be injected into multiple views) can keep track of running background tasks and knows how to cancel them.
👍 2