kotlinx.coroutines icon indicating copy to clipboard operation
kotlinx.coroutines copied to clipboard

Why SharedFlow never ends? Why doesn't SharedFlow propagate the completion event from the upstream flow?

Open xixiaxixi opened this issue 9 months ago • 0 comments
trafficstars

Consider a flow like

flowOf(1).sharedIn(scope, start)

It seems reasonable that each subscriber could know that no more data will be coming.

I'm wondering about the design decision behind this behavior?

xixiaxixi avatar Feb 19 '25 14:02 xixiaxixi