elizarov
06/27/2018, 4:45 PMrunBlocking
, then running just async(EventLoop()) { ... }
and forgetting to add .runBlocking()
at the end would ruin everything (nothing will run), so that is why it is bad idea. Using top-level runBlocking { ... }
is way safer, since you cannot accidentally do it wrong.