Chris Fillmore
07/20/2021, 8:59 PMfilter
or map
, but these return regular `Flow`s, but I still want to use a SharedFlow. I know I can call stateIn
or shareIn
to turn them back into a StateFlow/SharedFlow, but this requires that I pass some arguments, when what I really want is for the same SharedFlow I had before, except with these filters/maps applied. Am I missing something? Is there a better way to map/filter a SharedFlow?wasyl
07/20/2021, 10:00 PMephemient
07/20/2021, 10:23 PMChris Fillmore
07/21/2021, 12:53 AMStateFlow
specifically, since I have some code which accesses value
directly. But, as it turns out, when I tried to write some example describing what I’d like to do, I realized that it did not make sense to filter/map a state flow into another state flow. So thanks anyhow!