Open aaronschachter opened 8 years ago
Not as easy as expected. Refs https://github.com/facebook/react-native/issues/2556
Are you coming across scenarios where the fetch
doesn't timeout?
At least with the news feed on the Android side it looks like it's always around 30 seconds.
imo probably not a launch blocker, but a v2 UX fix if that feels too long.
The fetch
command doesn't timeout if I use the Xcode developer tools "Very bad network" connection... because I think it needs code to make the Promise cancellable (per https://github.com/DoSomething/LetsDoThis-iOS/issues/823#issuecomment-188985416)
https://github.com/andris9/fetch#options