Convert downloader to async await. Convert FeedFinder to async await.

This commit is contained in:
Brent Simmons
2024-06-07 22:28:24 -07:00
parent 3df22da7d9
commit 3a992d4340
8 changed files with 214 additions and 243 deletions

View File

@@ -21,7 +21,7 @@ struct HTMLMetadataDownloader {
return nil
}
let downloadData = try? await downloadUsingCache(actualURL)
let downloadData = try? await DownloadWithCacheManager.shared.download(actualURL)
let data = downloadData?.data
let response = downloadData?.response