Master RxJs: flatMap vs switchMap vs concatMap vs exhaustMap
7 min readMar 26, 2020
After learning the basics of RxJs you’re gonna run into the concept of switching streams and using emissions from inner observables sooner or later. In general there are four operators used for substituting in the emissions of an inner observable in the outer pipe.
flatMap
/mergeMap
(same operator under two names)switchMap