ResumeOptions
type ResumeOptions = Omit<UploadTaskOptions, | "file" | "tenantCode" | "resumeFrom" | "presets" | "visibility" | "originalBytes"> & { fileConcurrency?: number; onTask?: (task, record) => void; tenantCode?: string;};Defined in: packages/asset-uploader-expo/src/resume.ts:25
Type Declaration
Section titled “Type Declaration”fileConcurrency?
Section titled “fileConcurrency?”optional fileConcurrency?: number;Files uploaded at once. Default 1.
onTask?
Section titled “onTask?”optional onTask?: (task, record) => void;Hook to subscribe to each task’s events before it starts.
Parameters
Section titled “Parameters”| Parameter | Type |
|---|---|
task |
UploadTask |
record |
UploadRecord |
Returns
Section titled “Returns”void
tenantCode?
Section titled “tenantCode?”optional tenantCode?: string;Only resume records of this tenant. Default: all.