createProgressEvent
function createProgressEvent(input: ProgressEventInput): TransferProgressEvent;Defined in: src/services/TransferService.ts:80
Creates a progress event with elapsed time, rate, and optional percentage.
Parameters
Section titled “Parameters”| Parameter | Type | Description |
|---|---|---|
input | ProgressEventInput | Transfer id, byte count, start time, optional current time, and total bytes. |
Returns
Section titled “Returns”A normalized transfer progress event.