Yes. That is the idea. For you swing ui applicatio...
# coroutines
e
Yes. That is the idea. For you swing ui application you might define a helper function:
Copy code
fun ui(block: suspend () -> Unit) = runSuspending(Swing, block)