1 | import { Range } from "../Range";
|
2 | /**
|
3 | * Interface enabling progress handling with callbacks.
|
4 | */
|
5 | export interface UploadEventHandlers {
|
6 | /**
|
7 | * Parameters that are passed into the progress, completed, failure callback options.
|
8 | */
|
9 | extraCallbackParam?: unknown;
|
10 | /**
|
11 | * Callback function called on each slice upload during the LargeFileUploadTask.upload() process
|
12 | */
|
13 | progress?: (range?: Range, extraCallbackParam?: unknown) => void;
|
14 | }
|