is there some kind of compositeFlow or dynamic ver...
# coroutines
j
is there some kind of compositeFlow or dynamic version of merge() or something? I need to expose a Flow that is (internally) comprised of multiple other flows, and be able to add to that internal list such that pre-existing collectors receive their items. I can envision how to write my own, I'm just wondering if there's a pre-existing solution
u
or have a sharedflow to which you pipe events from the dynamic sources
j
Yeah, but doing that requires access to a CoroutineScope (I think?) which I'd like to avoid
u
id need a sample