Getting the last two values from an RxSwift Observable I really can't remember why, but at some point I needed to get a RxSwift Observable's last two values, to compare them and decide what to do next.