Interface BlobDownloadState

interface BlobDownloadState {
    error: null;
    haveBytes: number;
    haveCount: number;
    status:
        | "checking"
        | "downloading"
        | "downloaded"
        | "aborted";
    wantBytes: number;
    wantCount: number;
}

Properties

error: null

If status = 'error' then this will be an Error object

haveBytes: number

The bytes already downloaded

haveCount: number

The number of files already downloaded

status:
    | "checking"
    | "downloading"
    | "downloaded"
    | "aborted"
wantBytes: number

The bytes pending download

wantCount: number

The number of files pending download