Perhaps I am losing sight of a simple combination of statements (or the inherent behavior of RxJava in general). But suppose I have a hot observable selectedItem that maps to an RxJava-JDBC request.
@Test public void testFlatMapBackPressure() { Database db = null;
How can I skip the flatMap() operator so that it ALWAYS only flatMap() last request (and cancels the previous ones). I kind of want the flatMap operator with slippage to do something like this, where โXโ means canceling the previous request

Is there any way to do this? Or can it be done already, and I just don't see it?
tmn source share