Note, that is decouple event loop create from `run...
# arrow
e
Note, that is decouple event loop create from
runBlocking
, 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.