Shouldn't there be a function with following signature? `StateFlow<T>.map(.....) : StateFlow&l...
a
Shouldn't there be a function with following signature?
StateFlow<T>.map(.....) : StateFlow<R>
Since the mapping flow is a state flow it should already have an initial value right? Then why not just map it directly to a state flow? And if I wish to define such an extension function, how should I do that?
a
Oh thank you @Albert Chang