-
Notifications
You must be signed in to change notification settings - Fork 2.8k
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
Timeout/End-user abort #16
Comments
This is probably a question for the whatwg/fetch repository or the whatwg mailing list. I'm curious about the answer as well. It seems like timeout and abort are outside the scope of the current Fetch API standard. |
For what it's worth, XHR has a timeout attribute, so it might be a good idea to propose your idea to whatwg. |
@dgraham Not being able to do this there may be memory leaks and inconsistencies. Anyway thumbs up for fetch, really cool stuff. |
FWIW, I've opened an issue whatwg/fetch#951 with a proposal for a |
How would I implement a timeout similar to jQuery's $.ajax
timeout
option? The fetch standard mentions an "end-user abort", but I don't see any detail on how it would be triggered.The text was updated successfully, but these errors were encountered: