concatMapTo
signature: concatMapTo(observable: Observable, resultSelector: function): Observable
concatMapTo(observable: Observable, resultSelector: function): Observable
Subscribe to provided observable when previous completes, emit values.
Examples
Example 1: Map to basic observable (simulating request)
( StackBlitz )
Example 2: Using projection with concatMap
( StackBlitz | jsBin | jsFiddle )
Additional Resources
:newspaper: - Official docs
:file_folder: Source Code: https://github.com/ReactiveX/rxjs/blob/master/src/internal/operators/concatMapTo.ts
Last updated