Are channels supported for iOS yet? I keep getting...
# kotlin-native
s
Are channels supported for iOS yet? I keep getting a Typecast Exception when I push anything to a channel, and cant figure out what I am doing wrong.
d
To my knowledge, channels don't work on native yet. Might get more information in #coroutines.
s
Thanks a lot 🙂
s
I've been using
Channel
in my Kotlin/MPP project. It works as long as you send/receive in Dispatchers.main
https://github.com/Kotlin/kotlinx.coroutines/issues/462 is about multi-threaded support in K/N. Without multi-threaded,
Channel
is still helpful to write concurrent logic