As you can see I signal only for values greater th...
# rx
a
As you can see I signal only for values greater than
3
, so
1, 2, 3
does not trigger signal (but they can stop running timer for previous value). If value meets condition — I start timer and if no value arrives before timer rings — I emit value, otherwise either timer starts again or we wait for a new value.
switchMap
switches to latest Observable so it looks like it works as you need.