elizarov
02/20/2017, 9:51 PMrunBlocking(JavaFx) {...}
to run your code in UI thread and wait. Basically does the same, but it's already there. It also passes all exceptions that happen inside the block outside to your test and you have a coroutine inside the block so you can receive
on queues, join
to jobs and do any other suspending stuff.