Skip to content

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

@jmarkstar

Description

@jmarkstar

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.
Kotlin/kotlinx.coroutines#470

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions