Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Tech] Refactor Download Methods #3129

Merged
merged 12 commits into from
Oct 30, 2023
Prev Previous commit
Next Next commit
chore: tests and linting
  • Loading branch information
flavioislima committed Oct 18, 2023
commit 16d0bdbf516577cb6d7704666fd26f14d77d8b30
2 changes: 1 addition & 1 deletion src/backend/utils.ts
Original file line number Diff line number Diff line change
Expand Up @@ -1187,7 +1187,7 @@ export interface DownloadArgs {
*
* @param {string} url - The URL of the file to download.
* @param {string} dest - The destination path to save the downloaded file.
* @param {AbortController} abortController - The AbortController instance to cancel the download.
* @param {AbortSignal} abortSignal - The AbortSignal instance to cancel the download.
* @param {ProgressCallback} [progressCallback] - An optional callback function to track the download progress.
* @returns {Promise<void>} - A Promise that resolves when the download is complete.
* @throws {Error} - If the download fails or is incomplete.
Expand Down
Loading