amplify-js
amplify-js copied to clipboard
Add timeout on GET and POST api calls
Is this related to a new or existing framework?
React
Is this related to a new or existing API?
REST API
Is this related to another service?
No response
Describe the feature you'd like to request
Can't find a solid documentation regarding adding timeout for api calls on v6. My current task is to migrate from v5 to v6 and our api calls has timeout on them but it seems disregarded on v6. it has to be specific for each api call because there are some that really takes time
Describe the solution you'd like
add timeout on each API calls
Describe alternatives you've considered
might use axios if there aren't any way to add timeout for each api call
Additional context
No response
Is this something that you'd be interested in working on?
- [ ] 👋 I may be able to implement this feature request
- [ ] ⚠️ This feature might incur a breaking change