These are chat archives for ReactiveX/RxJava

25th
Jun 2018
romqu
@romqu
Jun 25 2018 08:08
@akarnokd Thanks for your reply. When the first event gets fired the previous state is the initial state provided as the seed. It then gets replaced by the new state via previousState.copy(). I'd then expected to get this newly returned state as the previous state in the next call (second event), but I get the initial state again. It's probably like you say, the flows seems to be independent. If I execute event number one again, then I receive the replaced state by the (same type of) event before.
romqu
@romqu
Jun 25 2018 12:30
You were right - when I wrap all events into merge() and then use compose() it works.