Rx.Observable.ofWithScheduler([scheduler], ...args)

Converts arguments to an observable sequence, using an optional scheduler to enumerate the arguments.

Arguments

  1. [scheduler] (Scheduler): An optional scheduler used to enumerate the arguments.
  2. args (Arguments): A list of arguments to turn into an Observable sequence.

Returns

(Observable): The observable sequence whose elements are pulled from the given arguments.

Example