<@U2E974ELT> regarding JavaFX and coroutines, why ...
# coroutines
g
@elizarov regarding JavaFX and coroutines, why not write
Copy code
override fun dispatch(context: CoroutineContext, block: Runnable) 
    = if(Platform.isFXApplicationThread()) block.run() else Platform.runLater(block)
instead of
Copy code
override fun dispatch(context: CoroutineContext, block: Runnable) = Platform.runLater(block)
?