Skip to main content

PROGRESS_EVENT

Constant PROGRESS_EVENT 

Source
pub const PROGRESS_EVENT: &str = "hot-update://progress";
Expand description

Event emitted while [download] streams the archive, carrying a DownloadProgress payload. Emission is throttled to at most one event per 100 ms so the IPC bridge is never flooded by per-chunk callbacks; the final chunk (downloaded == total) is always emitted.