Currently there is no way to abort a request from the client. For example:
UI makes requests to fetch the data
While the call is in progress, the UI component unmounts/redirects to some other component.
While un-mounting, the UI should be able to cancel pending HTTP calls to avoid unnecessary attempts to re-render.
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
[ ] Bug fix (non-breaking change which fixes an issue)
[x] New feature (non-breaking change which adds functionality)
[ ] Breaking change (fix or feature that would cause existing functionality to change)
Description
Currently there is no way to abort a request from the client. For example:
UI makes requests to fetch the data While the call is in progress, the UI component unmounts/redirects to some other component. While un-mounting, the UI should be able to cancel pending HTTP calls to avoid unnecessary attempts to re-render.
Related Issue
Motivation and Context
How Has This Been Tested?
Screenshots (if appropriate):
Types of changes
Checklist: