from Function
Helper method that creates an Observable from Iterable or Promise.
from<T>(iterable: Iterable<T> | PromiseLike<T>): Observable<T>
Parameter | Type | Description |
---|---|---|
iterable | Iterable<T> | PromiseLike<T> |
Returns - Observable<T>
Defined in
Last Updated: 20 June, 2023