onProgress MethodOptional

a user-supplied progress function called during the transfer operation. Return a non-0 value to abort the transfer.

onProgress(loaded: number, total: number): number

Parameter Type Description
loaded number  
total number  

Returns - number

Defined in

Last Updated: 30 November, 2023