A

Admin • 828.70K Points
Coach

Q. Which RxJS operator cancels previous Observable when a new one is emitted?

  • (A) mergeMap
  • (B) concatMap
  • (C) switchMap
  • (D) flatMap
  • Correct Answer - Option(C)
  • Views: 12
  • Filed under category Angular JS
  • Hashtags:

Explanation by: Admin
`switchMap` cancels the previous inner Observable when a new one is emitted.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.

Be the first to start discuss.