stottle-angular-blob-storage
stottle-angular-blob-storage copied to clipboard
On progress event does not fires correctly
Hi Stuart @stottle-uk.
I already had implemented a solution very similar to the one that you have implemented on this code.
I downloaded your code and I did the test for the scenario that I'm facing in my project, and you have the same issue.
The problem is that the event on "blob-storage.service.ts" line #67, fires 3 consecutively times, with a progress of 100, even though the upload had not been finalized yet.
Do you have an idea about how could we fix that issue, I read some posts and they recommend to use uploadStream instead of uploadData or uploadBrowserData, the thing is that the method expects as first parameter a Internal.Readable and I don't know how to get it from File.
Thank you!