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: 20 June, 2023