s

    Shameek Sarkar

    3 years ago
    Is it possible to use Channels from iOS in a multiplatform project? Or anything equivalent to a rx stream?
    Jan Stoltman

    Jan Stoltman

    3 years ago
    As far as I know, no. There is this library, but it doesn't look ready:https://github.com/noheltcj/RxCommon
    s

    Shameek Sarkar

    3 years ago
    Thanks a lot 🙂. Also, is it possible to use Channels in iOS?
    kpgalligan

    kpgalligan

    3 years ago
    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

    basher

    3 years ago
    Working on sharing our code for doing multi-threaded coroutine-based work. Maybe this month (hard to say for sure right now though)
    s

    sunbreak

    3 years ago
    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