makeProgressCallback() 函数
¥makeProgressCallback() function
签名
¥Signature
export declare function makeProgressCallback(
browser: Browser,
buildId: string,
): (downloadedBytes: number, totalBytes: number) => void;
参数
¥Parameters
范围 | 类型 | 描述 |
---|---|---|
browser | ||
buildId | string |
Returns:
(downloadedBytes: number, totalBytes: number) => void