I\'m struggling to implement something I assumed would be fairly simple in Rx.
I have a list of items, and I want to have each item emitted with a delay.
It
I think it's exactly what you need. Take look:
long startTime = System.currentTimeMillis(); Observable.intervalRange(1, 5, 0, 50, TimeUnit.MILLISECONDS) .timestamp(TimeUnit.MILLISECONDS) .subscribe(emitTime -> { System.out.println(emitTime.time() - startTime); });