makeProgressCallback() 函数
🌐 makeProgressCallback() function
语法
🌐 Signature
export declare function makeProgressCallback(
browser: Browser,
buildId: string,
): (downloadedBytes: number, totalBytes: number) => void;
参数
🌐 Parameters
范围 🌐 Parameter | 类型 🌐 Type | 描述 🌐 Description |
|---|---|---|
browser | ||
buildId | string |
返回:
(downloadedBytes: number, totalBytes: number) => void