2023-04-06 12:23:10 +00:00
|
|
|
---
|
|
|
|
sidebar_label: makeProgressCallback
|
|
|
|
---
|
|
|
|
|
|
|
|
# makeProgressCallback() function
|
|
|
|
|
|
|
|
#### Signature:
|
|
|
|
|
|
|
|
```typescript
|
|
|
|
export declare function makeProgressCallback(
|
|
|
|
browser: Browser,
|
|
|
|
buildId: string
|
|
|
|
): (downloadedBytes: number, totalBytes: number) => void;
|
|
|
|
```
|
|
|
|
|
|
|
|
## Parameters
|
|
|
|
|
2024-03-25 13:03:57 +00:00
|
|
|
<table><thead><tr><th>
|
2023-04-06 12:23:10 +00:00
|
|
|
|
2024-03-25 13:03:57 +00:00
|
|
|
Parameter
|
|
|
|
|
|
|
|
</th><th>
|
|
|
|
|
|
|
|
Type
|
|
|
|
|
|
|
|
</th><th>
|
|
|
|
|
|
|
|
Description
|
|
|
|
|
|
|
|
</th></tr></thead>
|
|
|
|
<tbody><tr><td>
|
|
|
|
|
|
|
|
browser
|
|
|
|
|
|
|
|
</td><td>
|
|
|
|
|
|
|
|
[Browser](./browsers.browser.md)
|
|
|
|
|
|
|
|
</td><td>
|
|
|
|
|
|
|
|
</td></tr>
|
|
|
|
<tr><td>
|
|
|
|
|
|
|
|
buildId
|
|
|
|
|
|
|
|
</td><td>
|
|
|
|
|
|
|
|
string
|
|
|
|
|
|
|
|
</td><td>
|
|
|
|
|
|
|
|
</td></tr>
|
|
|
|
</tbody></table>
|
2023-04-06 12:23:10 +00:00
|
|
|
**Returns:**
|
|
|
|
|
|
|
|
(downloadedBytes: number, totalBytes: number) => void
|