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

fetch: Request timeouts #31

Open
kolyasapphire opened this issue Apr 27, 2022 · 0 comments
Open

fetch: Request timeouts #31

kolyasapphire opened this issue Apr 27, 2022 · 0 comments
Labels
enhancement New feature or request

Comments

@kolyasapphire
Copy link
Contributor

It would be handy to have a default timeout for requests which can be customised.

Can be done using an AbortController, signal from which is passed: fetch('http://example.com', { signal })

@kolyasapphire kolyasapphire added the enhancement New feature or request label Apr 27, 2022
@kolyasapphire kolyasapphire changed the title fetch: Requests timeouts fetch: Request timeouts Apr 27, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant