Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Progress rate of upload to Blob #543

Open
minodisk opened this issue Dec 19, 2023 · 4 comments
Open

Progress rate of upload to Blob #543

minodisk opened this issue Dec 19, 2023 · 4 comments

Comments

@minodisk
Copy link

When uploading a file to a Blob, is there a way to get the progress rate of the upload?

@vvo
Copy link
Member

vvo commented Dec 20, 2023

Hey @minodisk, this is on our roadmap (no ETA), we were thinking of:

put('file.png', file, {
  onProgress(bytesSent: number, totalBytesToSend: number | undefined) // undefined when file is a stream
});

what do you think?

@minodisk
Copy link
Author

That looks like a workable enough interface. I have high expectations!

@pie6k
Copy link

pie6k commented Mar 14, 2024

@minodisk it seems to be marked as completed, but I think I don't see such an API in the put method. I'm not sure if I am missing it somewhere

@xavimb
Copy link

xavimb commented Apr 16, 2024

The same issue has been highlighted here:
#642

@vvo vvo reopened this Apr 16, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

5 participants