How do I do a channel or flow Fan-out where the sa...
# coroutines
l
How do I do a channel or flow Fan-out where the same value is received by all collectors or receivers? Documentation for channel fan-out just shows fan-out where the work is distributed, for flow share seems to be work in progress. What solutions are available now?
a
BroadcastChannel or StateFlow
z
Sharing operators are being designed and discussed right now: https://github.com/Kotlin/kotlinx.coroutines/issues/2047