from

This method creates a new Observable sequence from an array-like or iterable object.
Arguments
iterable(Array|Arguments|Iterable): An array-like or iterable object to convert to an Observable sequence.[mapFn](Function): Map function to call on every element of the array.[thisArg](Any): The context to use calling the mapFn if provided.[scheduler=Rx.Scheduler.currentThread](Scheduler): Scheduler to run the enumeration of the input sequence on.
Returns
(Observable): The observable sequence whose elements are pulled from the given iterable sequence.
Example
Last updated
Was this helpful?