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

support for AbortController #342

Open
nicks opened this issue Jun 27, 2022 · 2 comments
Open

support for AbortController #342

nicks opened this issue Jun 27, 2022 · 2 comments

Comments

@nicks
Copy link

nicks commented Jun 27, 2022

From https://axios-http.com/docs/cancellation:

Starting from v0.22.0 Axios supports AbortController to cancel requests in fetch API way.

But as far as I can tell, this library only mocks the old cancelToken-based API:
#59

Would you be open to also supporting AbortController?

@FlorianCassayre
Copy link

Spent an hour setting up this library only to realize that it did not even support the AbortController.

@JAspeling
Copy link

Is this not what is used for aborting?

abortRequest: function () {

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

3 participants