Imagine we have a queue of booleans (we don\'t need a complex datastructure since we wanna store only the fact of the order). Items can get into the queue at anytime in
delay = 1000; // delay in ms
queue.concatMap(e =>
Rx.Observable.of(e) // emit first item right away
.concat(Rx.Observable.empty().delay(delay)) // delay next item
)