questions plz

#10 · closed · 2 comments

View on GitHub ↗

aplha98

``` actual val pokedexDispatchers: PokedexDispatchers = object: PokedexDispatchers { override val main: CoroutineDispatcher = Dispatchers.Main override val io: CoroutineDispatcher = Dispatchers.IO override val unconfined: CoroutineDispatcher = Dispatchers.Unconfined }``` I think this project should use only two impanation for testing, production , because kmm has default actual implementation for Main,IO in common main

Comments

MohamedRejeb

This is needed for older coroutines versions. With the latest version of coroutines, we can use dispatcher IO directly from coroutines in shared code without having any issues. I will update coroutines version and delete this workaround.

aplha98

thank you so much