Okay, I finally got it: I was using coroutines 1.3.9 but looking here: https://github.com/ktorio/ktor/blob/master/gradle.properties and noting the version Ktor uses. I use the same, and it is now working. What threw me off was that this also works for JVM/Android, which I had not expected.
m
Michal Harakal
08/23/2020, 9:05 PM
I guess you will get an better answer in the #multiplatform channel and I guess has something to do with multihtreded version of couroutines, which ktor uses