<Flow.merge() with different value types> Is there...
# forum
r
Flow.merge() with different value types Is there a function to combine two Flows with different value types into a single flow without dropping the knowledge about the triggering flow. If I would use combine(flowA: Flow<A>, flowB Flow, transform: (A, B) -> Result) then I lose the information about the triggering flow in transform() because a cached value of A or B will be passed. Right now, I do a conversion from Flow<A> to Flow and a conversion from Flow to Flow and after that I merge both result flows: merge(flowResultA,...