How can I have a SharedFlow buffer emissions that ...
# coroutines
j
How can I have a SharedFlow buffer emissions that come while there are no subscribers?
p
how about using Channel() instead?
j
I'll try it!
p
you can use CoroutineScope.produce(capacity = 123) { … } to emit values conveniently