elizarov
04/08/2019, 8:21 PMstreetsofboston
04/08/2019, 8:58 PMelizarov
04/08/2019, 9:23 PMelizarov
04/08/2019, 9:23 PMpublish
a channel which is analogue of "sharing" it.streetsofboston
04/08/2019, 9:37 PMpublish
... On which class/interface is this defined?gildor
04/09/2019, 2:15 AMbroadcastIn
is similar to publish, it converts flow to BroadcastChannelsdeleuze
04/09/2019, 9:20 AMFlow
https://kotlinlang.slack.com/archives/C1CFAFJSK/p1554801575237600 in #coroutinesstreetsofboston
04/09/2019, 11:08 AMelizarov
04/09/2019, 11:42 AM.asFlow()
on a broadcast channelstreetsofboston
04/09/2019, 11:52 AMelizarov
04/09/2019, 12:00 PMconnect
you’ve turned a cold stream into a hot one.streetsofboston
04/09/2019, 12:04 PMelizarov
04/09/2019, 1:37 PMstreetsofboston
04/10/2019, 6:51 PMFlow<T>.publish(): ConnectableFlow<T>
extension-function and its initial implementation seems to work quite well (no thread-safety though).
Its use-case is the same as the RxJava’s Flowable.publish()
method.
https://gist.github.com/streetsofboston/39c3f8c882c9891b35e0ebc3cd812381
For thing like this, should we also use http://github.com/kotlin/kotlinx.coroutines/issues?elizarov
04/10/2019, 7:07 PMstreetsofboston
04/10/2019, 7:44 PMelizarov
04/10/2019, 7:48 PMpublish
use-cases need to be solved with publish
operator and don’t have other solutions that should be considered as wellstreetsofboston
04/10/2019, 7:52 PMstreetsofboston
04/11/2019, 8:56 PM