Bit of an outsider question about the state-of-pla...
# coroutines
d
Bit of an outsider question about the state-of-play with Coroutines: I enjoy using RxJava a lot in my UI designs, but also want to keep the code as portable as possible. Is there any effort, yet, to provide an 'RxJava equivalent' library based on coroutines, which I can use to trivially port my business logic away from RxJava, so that it can be compiled by Kotlin Native?
g
Cold streams will be much closer to rxjava
d
Thanks Andrey; I'm aware that a 'cold streams' capability is a key enabler towards creating Rx-style API's. But what about the bit that comes after that - where is the 'Reactive stdlib', so to speak, with all the well known combination functions?
g
where is the ‘Reactive stdlib’
Let’s wait for initial release of cold streams first
with all the well known combination functions
I hope (and actually think this will be true) that kotlinx.coroutines will provide just basic set of operators. I don’t think that opeators/combinators parity should be a goal of cold streams development. If someone (like you) need full set of operators from Rx probably would be better to move it to a separate library, after all with extension functions in Kotlin it’s not a problem to extract this to a separate library