Do I understand the documentation for `shareIn` in...
# flow
a
Do I understand the documentation for
shareIn
in that terminal events are not propagated to subscribers?
e
Yes.
a
@elizarov I'm curious why this is the case. It means you can only really use ShareIn nicely with infinite streams?
e
You can use them with finite streams, too, if you materialize their completion events explicitly. There's more discussion here: https://github.com/Kotlin/kotlinx.coroutines/issues/2047#issuecomment-632810231