• +91 9723535972
  • info@interviewmaterial.com

RxJS Interview Questions and Answers

Question -
What are switchMap, mergeMap and concatMap?



Answer -

These are the operators used to flatten the observables, they are applicable in different scenerios.Switvh and Merge maps are the most powerful and they are frequently used as the operators.
Mergemap used in creating an observable immediately for any other source item and it keeps the observables alive.
Concatmap are used for crating a new observable.
Switchmap helps in completing the previous observable and creates the next observable.

Comment(S)

Show all Coment

Leave a Comment




NCERT Solutions

 

Share your email for latest updates

Name:
Email:

Our partners