elizarov
02/05/2017, 7:45 PMsomeBlockingMethod()
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`:
run(CommonPool) { someBlockingMethod() }