Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Abort requests via FetchInit signal abort #81

Open
ziruihao opened this issue Aug 1, 2021 · 1 comment
Open

Abort requests via FetchInit signal abort #81

ziruihao opened this issue Aug 1, 2021 · 1 comment

Comments

@ziruihao
Copy link

ziruihao commented Aug 1, 2021

The Fetch API provides a method for aborting an ongoing request. Is there a way to use this with the underlying axios engine, which relies on cancellation tokens?

There's currently stale discussion on axios to support signal.

@mdlavin
Copy link
Member

mdlavin commented Sep 28, 2021

Interesting question and it looks like the linked Axios issue just merged. If there is something needed to support canceling in axios-fetch I'd love any contriubtion that adds support.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants