Skip to content

Latest commit

 

History

History
25 lines (14 loc) · 893 Bytes

File metadata and controls

25 lines (14 loc) · 893 Bytes

{% if book.isPdf %}

range

{% else %}

{% endif %}

Generates an observable sequence of integral numbers within a specified range, using the specified scheduler to send out observer messages.

Arguments

  1. start (Number): The value of the first integer in the sequence.
  2. count (Number): The number of sequential integers to generate.
  3. [scheduler=Rx.Scheduler.currentThread] (Scheduler): Scheduler to run the generator loop on. If not specified, defaults to Scheduler.currentThread.

Returns

(Observable): An observable sequence that contains a range of sequential integral numbers.

Example