set a timeout for the upload
viniciusdacal opened this issue · comments
Vinicius Dacal commented
Currently, there's no way to set a timeout option for the upload, so, you could endup with a loading state forever.
I took a look at the code and I could give it a shoot to implement this options, seems straightforward.
seanadkinson commented
Hey @viniciusdacal, thanks for the report. I don't currently use this library, just merge PRs, and try to maintain. Would love it if you'd like to take a stab at a PR. Thanks!
Gabriel Ramos Takeda commented
It would be a very good feature to dispatch errors with internet connection failure for example ...