Join Slack
Powered by
Hi there :smiley_cat:. How can I make PublishRelay...
# coroutines
h
hikkidev
11/26/2019, 7:16 AM
Hi there 😺. How can I make
PublishRelay
through
Kotlin Cold Flows ?
I know about
ConflatedBroadcastChannel
, but it hot channels.
p
pawegio
11/26/2019, 7:51 AM
https://github.com/akarnokd/kotlin-flow-extensions
g
gildor
11/26/2019, 12:59 PM
PublishRelay/PublishSubject is also hot and it's by definition
gildor
11/26/2019, 1:19 PM
ConflatedBroadcastChannel is wrong replacement, it's analogue of BehaviorSubject. You need BroadcastChannel, and just use asFlow() extension
👍 1
7
Views
Open in Slack
Previous
Next