concat
Last updated
Last updated
concat(observables: ...*): Observable
💡 You can think of concat like a line at a ATM, the next transaction (subscription) cannot start until the previous completes!
💡 If throughput, not order, is a primary concern, try merge instead!
Example 1: Basic concat usage with three observables
( StackBlitz )
Example 2: Display message using concat with delayed observables
( StackBlitz )
Example 3: (Warning!) concat with source that does not complete
( StackBlitz )
concat 📰 - Official docs
concat - In Depth Dev Reference
Combination operator: concat, startWith 🎥 💵 - André Staltz
📁 Source Code: https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/concat.ts