# generateWithRelativeTime

Generates an observable sequence by iterating a state from an initial state until the condition fails.

## Arguments

1. `initialState` _(`Any`)_: Initial state.
2. `condition` _(`Function`)_: Condition to terminate generation (upon returning false).
3. `iterate` _(`Function`)_: Iteration step function.
4. `resultSelector` _(`Function`)_: Selector function for results produced in the sequence.
5. `timeSelector` _(`Function`)_: Time selector function to control the speed of values being produced each iteration, returning integer values denoting milliseconds.
6. `[scheduler=Rx.Scheduler.timeout]` _(`Scheduler`)_: Scheduler on which to run the generator loop. If not provided, defaults to Scheduler.timeout.

## Returns

_(`Observable`)_: The generated sequence.

## Example
