although... there is a chance for race conditions ...
# rx
a
although... there is a chance for race conditions ^^^ so that's not ideal. the
throttleFirst
could drop an emission during a window and the
delay
may emit after.
Copy code
thing.changeNotifications()
                .throttleFirst(windowSeconds, TimeUnit.SECONDS)
                .delay(windowSeconds, TimeUnit.SECONDS)
                .subscribe { thingSaver.save(thing) }