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

posts/fetch-abort/ #32

Open
utterances-bot opened this issue Jul 6, 2021 · 2 comments
Open

posts/fetch-abort/ #32

utterances-bot opened this issue Jul 6, 2021 · 2 comments
Labels
comment Article comment

Comments

@utterances-bot
Copy link

Aborting fetch request with AbortController | miyauci.me

Introduces how to abort an HTTP request using fetch. It also covers practical cases such as what to do after aborting, how to abort multiple HTTP requests at once, and explains the correct error handling.

https://miyauchi.dev/posts/fetch-abort/

@TomokiMiyauci TomokiMiyauci added the comment Article comment label Jul 6, 2021
Copy link

xmedeko commented Sep 27, 2021

e instanceof AbortError is not possible, you may check it by e.g. e.name === 'AbortError'

@TomokiMiyauci
Copy link
Owner

@xmedeko Thanks comment!
I've fixed it.

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

No branches or pull requests

3 participants