-
Notifications
You must be signed in to change notification settings - Fork 370
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
feat: enable bytes read tracking (#1074)
* feat: enable bytesrRead tracking on uploads * refactor: only attach listener if flagged by user * lint: lint * refactor: forward progress event from resumable or simple upload to user * lint: lint * fix: add listener on a condition * refactor: only register progress listener if onUploadProgress param is set * feat: add onUploadProgress to file.save() * lint: lint * refactor: readability * chore: move event handler assignment on it own line * fix(deps): update dependency @google-cloud/common to v3 enables bytes read tracking from simple upload * test: typo Co-authored-by: Jonathan Lui <[email protected]> Co-authored-by: Stephen <[email protected]>
- Loading branch information
1 parent
0bb1909
commit 0776a04
Showing
4 changed files
with
145 additions
and
7 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters