So withLatestFrom is very close to what I need, but it has a weird behavior. It only emits a value if the "master" emits AFTER the "slave". As shown in this Marble diagram:
--1----2-------2---- (source)
----a-------b------- (other1)
-------2a------2b--
I need an operator which behaves like this:
--1------2-------2---- (source)
----a---------b------- (other1)
----1a---2a------2b--
and this:
------1------2-------2---- (source)
--a--------------b------- (other1)
------1a-----2a------2b--
In other words, it basically needs to act like CombineLatest for the first emits, and then behave like withLatestFrom afterwards. How can I achieve this behavior?