Type Alias ProgressOptions

The callback options for reporting progress.

type ProgressOptions = {
    onDownload?: (event: PartialProgressEvent) => void;
    onUpload?: (event: PartialProgressEvent) => void;
}
Index

Properties

onDownload?: (event: PartialProgressEvent) => void

download callback, called repeatedly when upload-progress is available

onUpload?: (event: PartialProgressEvent) => void

upload callback, called repeatedly when upload-progress is available