Hi there :smiley_cat:. How can I make PublishRelay...
# coroutines
h
Hi there 😺. How can I make PublishRelay through Kotlin Cold Flows ? I know about ConflatedBroadcastChannel, but it hot channels.
g
PublishRelay/PublishSubject is also hot and it's by definition
ConflatedBroadcastChannel is wrong replacement, it's analogue of BehaviorSubject. You need BroadcastChannel, and just use asFlow() extension
👍 1