merge
Last updated
Last updated
merge(input: Observable): Observable
💡 This operator can be used as either a static or instance method!
💡 If order not throughput is a primary concern, try concat instead!
Example 1: merging multiple observables, static method
( StackBlitz | jsBin | jsFiddle )
Example 2: merge 2 observables, instance method
( StackBlitz | jsBin | jsFiddle )
merge 📰 - Official docs
merge - In Depth Dev Reference
Handling multiple streams with merge 🎥 💵 - John Linquist
Sharing network requests with merge 🎥 💵 - André Staltz
Combination operator: merge 🎥 💵 - André Staltz
Build your own merge operator 🎥 - Kwinten Pisman
📁 Source Code: https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/merge.ts