Assume that instead `fun makeRestCall(...)` you ha...
# tornadofx
e
Assume that instead
fun makeRestCall(...)
you have
suspend fun makeRestCall(...)
that does not block a thread. Then, instead of
runAsync { makeRestCall(...) } ui { result -> doSomethingWith(result) }
you could just do
asyncRun { doSomethingWith(makeRestCall(...)) }