elizarov
01/14/2017, 7:08 AMPlatfrom.runLater(...), so for JavaFX I have JavaFx dispather. Every time coroutine resumes, this dispatcher does Platfrom.runLater with its continuation, so the rest of its code is back into application thread. Same for Swing and Android