Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
interface Protocol.Page.DownloadProgressEvent
import { type Protocol } from "https://deno.land/x/pptr@1.2.0/vendor/devtools-protocol/protocol.d.ts";
const { DownloadProgressEvent } = Protocol.Page;

Fired when download makes progress. Last call has |done| == true.

Properties

guid: string

Global unique identifier of the download.

totalBytes: number

Total expected bytes to download.

receivedBytes: number

Total bytes received.

state: "inProgress" | "completed" | "canceled"

Download status. (DownloadProgressEventState enum)