jokes-app-multiplatform icon indicating copy to clipboard operation
jokes-app-multiplatform copied to clipboard

Why are you using `Dispatchers.Main` to `ioDispatcher` on `iosMain`?

Open jmarkstar opened this issue 4 years ago • 0 comments

Hi, nice work on this repo, saw good thing here. I also want to start a kmm project but I'm wondering how coroutines manage the io and main thread in iOS. If you can help me with this would be awesome!!

here the link of the kotlin file in your repo :) https://github.com/kuuuurt/jokes-app-multiplatform/blob/develop/common/src/iosMain/kotlin/com/kurt/jokes/mobile/presentation/base/Dispatchers.kt

I found this ticket on coroutines which is still open and that is why I'm worry hehe. https://github.com/Kotlin/kotlinx.coroutines/issues/470

jmarkstar avatar May 11 '21 10:05 jmarkstar