[Feature request] Emit "progress" during chunk uploads as well as after each chunk.
See original GitHub issueCurrently, the “progress” event is only emitted after each chunk has been uploaded. My request is to emit this event while uploading each chunk as well.
AFAIK, this can’t be accomplished with the native fetch
function that this library uses. So this feature would require the use of XMLHttpRequest
or a library like axios.
The reason for this request is to be able to give feedback to the user more often while uploading larger chunks. Our uploads to Mux seem to have quite high latency (several seconds) after each chunk. To mitigate this we could increase the chunk size, but then we run into this problem with the lack of progress feedback.
Issue Analytics
- State:
- Created 4 years ago
- Reactions:1
- Comments:13 (5 by maintainers)
Top Results From Across the Web
Upload progress indicators for fetch? - Stack Overflow
It sounds like upload progress will eventually be possible with fetch once it ... Get first chunk of the request reader let chunk...
Read more >How to monitor the progress of a Javascript fetch - request and ...
Make fetch progress available with events. To wrap the monitoring feature up, let's create two custom events: One for whenever a data chunk...
Read more >Concurrent Chunking | Fine Uploader Documentation
The concurrent chunking feature allows multiple chunks for each file to be uploaded simultaneously. The traditional chunking feature only sends one chunk at ......
Read more >Angular File Upload with Progress - Nils Mehlhorn
Upload files like PDF or ZIP in Angular programmatically with the HttpClient so you can show a Material progress bar.
Read more >How To Upload Files With .NET Core Web API and Angular
We are going to use those files as well in our app. ... Being able to upload files and use them afterward is...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
This is so cool. I’ll definitely give it a try tomorrow!
Thanks, Damon
On Tue, Jun 9, 2020 at 8:52 PM Matthew McClure notifications@github.com wrote:
Just cut the 2.0 release which includes intra-chunk progress updates! Give it a try and let me us know if you run into any issues.