In Angular, I make API calls by subscribing to observables. When a user cancels a request, the application unsubscribes to the subscription which cancels the request. However, it does not trigger the endpoint and so the cancellation token param in our endpoint is of no use.
Related topics
Topic | Replies | Views | Activity | |
---|---|---|---|---|
Angular 8 call web api to login token based with owin
|
3 | 1562 | January 16, 2021 | |
Subscribing to observables one at a time!
|
3 | 1024 | January 16, 2021 | |
How to handle multiple http request response in Angular 8? | 2 | 1420 | June 1, 2021 | |
Angular get acces to Method inside service from httpservice
|
2 | 615 | January 16, 2021 | |
Implementing the interceptors | 2 | 842 | November 14, 2023 |