Hi Erik, they are not random, they refer to the operation we are trying to test in the example

Observable.interval(1L, 5L, TimeUnit.SECONDS, getSchedulerIo())
.flatMapSingle(ignored -> fetchDataRemote())

Expected behaviour here is: we wait 1 second first, then we fetch data from remote, then we fetch data again and again after every 5 seconds

Does that answer your question?

Hiring Android engineer shorturl.at/bivJO Clean coder, walker & biker. Hater of inefficiency

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store