interface ExportProgress {
    bytesRead: bigint;
    fileSize: bigint;
    totalBytes: bigint;
}

Properties

bytesRead: bigint

How many bytes of the file have been read

fileSize: bigint

The size of the file being read - n.b. this may be larger than total if offset/length has been specified

totalBytes: bigint

How many bytes of the file will be read - n.b. this may be smaller than fileSize if offset/length have been specified