Rx.Observable.of(...args)

Converts arguments to an observable sequence.

Arguments

  1. 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