March 13, 2018
To Switchmap Or Not To Switchmap
What the map When we want to use a flattening operator you usually come across switchMap but this is not the only map operator we have. We have a total of 4 maps to choose from:
mergeMap (or flatMap which is an alias) concatMap switchMap exhaustMap mergeMap/flatMap This will concurrently handle each dispacthed request, this means it will not wait for any other request to complete and also doesn’t abort the previous one if a new request is fired.
Read more