Propagate CancellationToken in UpdateManager

This commit is contained in:
Caelan Sayler
2024-01-24 15:03:50 +00:00
parent 87787bda3f
commit 2caad237a1
11 changed files with 55 additions and 37 deletions

View File

@@ -19,7 +19,7 @@ namespace Velopack.Tests
return Task.FromResult(MockedResponseBytes);
}
public async Task DownloadFile(string url, string targetFile, Action<int> progress, string auth, string acc)
public async Task DownloadFile(string url, string targetFile, Action<int> progress, string auth, string acc, CancellationToken token)
{
LastLocalFile = targetFile;
var resp = await DownloadBytes(url, auth, acc);