UNPKG

466 BTypeScriptView Raw
1import { Range } from "../Range";
2/**
3 * Interface enabling progress handling with callbacks.
4 */
5export 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}