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

Increase specificity of onProgress() callback for BlockBlobClient.uploadData() #32642

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

au5ton
Copy link

@au5ton au5ton commented Jan 21, 2025

Packages impacted by this PR

  • @azure/storage-blob

Issues associated with this PR

Describe the problem that is addressed by this PR

The onProgress() callback when using BlockBlobClient.uploadData() in the browser is not granular and only updates after each block. This makes it impractical for progress bars and progress reporting without making chunks very small and inefficient.

What are the possible designs available to address the problem? If there are more than one possible design, why was the one in this PR chosen?

Are there test cases added in this PR? (If not, why?)

Provide a list of related PRs (if any)

  • None

Command used to generate this PR:**(Applicable only to SDK release request PRs)

Checklists

  • Added impacted package name to the issue description
  • Does this PR needs any fixes in the SDK Generator?** (If so, create an Issue in the Autorest/typescript repository and link it here)
  • Added a changelog (if necessary)

@github-actions github-actions bot added Community Contribution Community members are working on the issue customer-reported Issues that are reported by GitHub users external to the Azure organization. Storage Storage Service (Queues, Blobs, Files) labels Jan 21, 2025
Copy link

Thank you for your contribution @au5ton! We will review the pull request and get back to you soon.

@au5ton au5ton changed the title Feature/au5ton/issue 32404 Increase specificity of onProgress() callback for BlockBlobClient.uploadData() Jan 21, 2025
@azure-sdk
Copy link
Collaborator

API change check

API changes are not detected in this pull request.

@au5ton au5ton marked this pull request as ready for review January 21, 2025 21:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Community Contribution Community members are working on the issue customer-reported Issues that are reported by GitHub users external to the Azure organization. Storage Storage Service (Queues, Blobs, Files)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants