one of angular service method(http call) created with switchMap operator,so it can reject/cancel the previous rest API calls if new one arrived. it is working fine and make a backend call but it not reject any BE call but it sequentially calling every call and wait for all of BE call to response, it should reject previous calls.
where I am doing wrong ?
to create first observer event I am using from() method and by each typing it calls HTTP get API.