Last updated
Last updated
``# from
signature: from(ish: ObservableInput, mapFn: function, thisArg: any, scheduler: Scheduler): Observable
💡 This operator can be used to convert a promise to an observable!
💡 For arrays and iterables, all contained values will be emitted as a sequence!
💡 This operator can also be used to emit a string as a sequence of characters!
Example 1: Observable from array
( | | )
Example 2: Observable from promise
Example 3: Observable from collection
Example 4: Observable from string
( | | )
( | | )
( | | )
📰 - Official docs
- In Depth Dev Reference
🎥 💵 - André Staltz
📁 Source Code: