Which RxJS operator is used to cancel previous HTTP calls?
Correct answer
switchMap
Explanation
switchMap cancels the previous observable when a new one is emitted.
Update: Admin added a tag on this question
Topics
By Admin · · 27 views