I have used a 'Service' and an 'Interceptor' to cancel all pending request when i switch between pages in angular. I have followed the steps in this tutorial for that. Now i need to uphold some api calls from being cancelled on a router change.
I have tried searching for an answer but ended up in getting ways to cancel the requests. Is there a way to uphold the request from being cancelled? I am using angular 7.
Thanks in advance:)
At the point where the cancel service in added to your HttpRequest you could try adding a rule to exclude that specific url.