rafal
04/10/2017, 8:07 AMelizarov
04/10/2017, 8:24 AMChannel
is similar to a subject to start with — one or more coroutines can send to it (fan-in) and one or more coroutines can read from it (fan-out). This document explains the differences and parallels between Channels and Rx in more details: https://github.com/Kotlin/kotlinx.coroutines/blob/master/reactive/coroutines-guide-reactive.md
What kind of functionality you are exactly looking at? Do you need to broadcast to multiple coroutines and/or to store all events for replay later?rafal
04/10/2017, 9:21 AMChannel
that holds reference to last element and resend it each time someone "subscribes"?elizarov
04/10/2017, 9:28 AMrafal
04/10/2017, 9:34 AMBehaviorSubject
elizarov
04/10/2017, 9:41 AMrafal
04/10/2017, 9:45 AMelizarov
04/10/2017, 9:47 AMrafal
04/10/2017, 9:48 AMelizarov
04/10/2017, 9:50 AMkotlinx.coroutines
, however it is still an open question on what kind of functionality it shall support out-of-the boxrafal
04/10/2017, 10:03 AMkenkyee
04/10/2017, 12:57 PMelizarov
04/10/2017, 1:29 PMkenkyee
04/10/2017, 9:54 PMelizarov
04/11/2017, 6:56 AM