elizarov
01/29/2017, 2:13 PMJavaFx
dispatcher trivially implemented in kotlinx.coroutines
to dispatch all coroutines to the single JavaFx application thread. This way you can have as many coroutines as you want, all running in the same thread, each doing its own thing: https://github.com/Kotlin/kotlinx.coroutines/blob/master/kotlinx-coroutines-javafx/src/test/kotlin/examples/FxExampleApp.kt