ProgressType
Import
import { ProgressType } from "@hyper-fetch/core"
Source
Package
Preview
type ProgressType = {
loaded: number;
progress: number;
sizeLeft: number;
startTimestamp: number;
timeLeft: number | null;
total: number;
}
Structure
ProgressType
| Name | Type | Description |
|---|---|---|
| loaded | | Loaded size in bytes |
| progress | | Progress in percentage (0-100) |
| sizeLeft | | Size left in bytes |
| startTimestamp | | Start timestamp in milliseconds |
| timeLeft | | Time left in seconds (null if not available) |
| total | | Total size in bytes |