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