itinance / react-native-fs

Native filesystem access for react-native
MIT License
4.89k stars 954 forks source link

Upload timeouts #1211

Open Sakethtadimeti opened 6 months ago

Sakethtadimeti commented 6 months ago

Is there a built-in way to set a timeout on uploads?

Would like a similar interface to do downloadFile.

connectionTimeout?: number 
readTimeout?: number 

Something similar to what was done with https://github.com/itinance/react-native-fs/pull/301

Sakethtadimeti commented 6 months ago

@itinance please vet this, I'll be happy to send in a PR if it makes sense.

birdofpreyru commented 5 months ago

#1197 — The Future of react-native-fs