Adds an onUploadProgress option, the counterpart of onDownloadProgress.
onUploadProgress
onDownloadProgress
ReadableStream
{percent, transferredBytes, totalBytes}
DownloadProgress
Progress
test/upload-progress.ts
31c4955
32c496e
33c4988
34c49a1
2dc48f1
2ec490a
2fc4923
30c493c
39c4a1f
3ac4a38
ca79810
c9797f7
Adds an
onUploadProgressoption, the counterpart ofonDownloadProgress.ReadableStreamthat reports{percent, transferredBytes, totalBytes}as chunks are read.DownloadProgressis renamed toProgressso both handlers share one type.test/upload-progress.ts.