react-component / upload

React Upload
https://upload.react-component.vercel.app/
MIT License
780 stars 318 forks source link

Is there any way to add a delay between each of the multiple calls? #150

Open antenando opened 5 years ago

antenando commented 5 years ago

When using multiple: true, I can return a Promise from beforeUpload just fine... but I wanted to add a delay between each of the requests.

I can just add a delay at the beginning but all of the requests are gonna end up firing at the same time (tiny ms delay between them).

Does anyone have a clue on how to do this?

Thanks very much

beinoriusju commented 2 years ago

This and other issues regarding multiple file uploads are related. Developers have trouble controlling batch uploads.

198 #242

There should be a prop customBatch or similar