<@U1VBC6HJ7> You are right. It is essentially the ...
# coroutines
e
@kenkyee You are right. It is essentially the same with coroutines. If you have
someBlockingMethod()
and you, for example, want to invoke it from a coroutine that is confined to your UI thread (`Swing`/`JavaFx`/Android/whatever) without blocking your UI thread, then you just decide what thread (or pool) you want to execute your blocking call on (say in
CommonPool
) and just use `run`:
Copy code
run(CommonPool) { someBlockingMethod() }