See in GitHub

About

This component is a dropzone to upload multiple files. It is configured with a max file size of 1 MB and a max number of files of 10.

Here we made so that the files are uploaded as soon as they are dropped.

The EdgeStoreProvider is configured for a maximum of 2 parallel uploads. This means that if you upload 5 files, only 2 will be uploaded at a time. The other 3 will be queued and uploaded in order as soon as one of the first 2 uploads finishes.

p.s. The default value for maxParallelUploads is 5. Here we are setting it to 2 just to make it easier to see the queue in action.