Is it possible to use Channels from iOS in a multi...
# multiplatform
s
Is it possible to use Channels from iOS in a multiplatform project? Or anything equivalent to a rx stream?
j
As far as I know, no. There is this library, but it doesn't look ready: https://github.com/noheltcj/RxCommon
s
Thanks a lot 🙂. Also, is it possible to use Channels in iOS?
k
That library is not going to work, for sure.
Channels, no. Coroutines on native are not multithreaded.
@basher may have a library coming soon, but I’m not sure about their timeline…
b
Working on sharing our code for doing multi-threaded coroutine-based work. Maybe this month (hard to say for sure right now though)
s
Main thread
Channel
is supported. Multi-threaded is under development
"Channels provide a way to transfer a stream of values." according to https://kotlinlang.org/docs/reference/coroutines/channels.html. Without multi-threaded, it is still helpful to write concurrent logic
👍 1