reactormonk
07/07/2022, 5:43 PMmapWithState or similar for Channels, where I can keep a consistent state around?Joffrey
07/07/2022, 5:52 PMreactormonk
07/07/2022, 5:55 PMval tagFound = onChange.mapWithState(StateAbsent) { oldState, newState -> if (oldState == newState) { SomethingChanged } else { NothingChanged }
}Joffrey
07/07/2022, 6:01 PMrunningFold could help you?reactormonk
07/07/2022, 6:02 PMreactormonk
07/07/2022, 6:02 PMJoffrey
07/07/2022, 6:05 PMStateFlow and ShareFlow