nativescript-angular
nativescript-angular copied to clipboard
cancel http request at route change
Hello everybody, how can i cancel http pending requests at route change? I tried putting a takeuntil in my httpinterceptor where I passed a subject and then at the route change I used the next() for the subject. This works fine in my angular project but it doesn't in my nativescript-angular app. Could you help me? Thanks in advance,
Best regards
As far as I know there is no possibility to cancel a request in NativeScript. But my knowledge on this issue is nearly two years old, so I'm happy to get an update whether this is possible now 😉
Hi, Can we cancel requests with switchMap?
Thanks