Delete fetchArticlesAsync method with completion handler in favor of async/await articlesForFeed method.

This commit is contained in:
Brent Simmons
2023-09-24 11:58:29 -07:00
parent 12fb814bff
commit 6c33ccbceb
2 changed files with 7 additions and 14 deletions

View File

@@ -140,10 +140,6 @@ public typealias ArticleStatusesResultBlock = (ArticleStatusesResult) -> Void
try await articlesTable.articlesForFeed(feedID)
}
public func fetchArticlesAsync(_ feedID: String, _ completion: @escaping ArticleSetResultBlock) {
articlesTable.fetchArticlesAsync(feedID, completion)
}
public func fetchArticlesAsync(_ feedIDs: Set<String>, _ completion: @escaping ArticleSetResultBlock) {
articlesTable.fetchArticlesAsync(feedIDs, completion)
}