Rx.Observable.generateWithRelativeTime(initialState, condition, iterate, resultSelector, timeSelector, [scheduler])
Generates an observable sequence by iterating a state from an initial state until the condition fails.
Any): Initial state.
Function): Condition to terminate generation (upon returning false).
Function): Iteration step function.
Function): Selector function for results produced in the sequence.
Function): Time selector function to control the speed of values being produced each iteration, returning integer values denoting milliseconds.
Scheduler): Scheduler on which to run the generator loop. If not provided, defaults to Scheduler.timeout.
Observable): The generated sequence.