Delete completion version of fetchArticleIDsForStatusesWithoutArticlesNewerThanCutoffDate.

This commit is contained in:
Brent Simmons 2024-04-04 18:45:12 -07:00
parent 2b6bb5c615
commit 7f71223387

View File

@ -58,19 +58,6 @@ public extension ArticlesDatabase {
// MARK: - Status
/// Fetch articleIDs for articles that we should have, but dont. These articles are either (starred) or (newer than the article cutoff date).
nonisolated func fetchArticleIDsForStatusesWithoutArticlesNewerThanCutoffDate(_ completion: @escaping ArticleIDsCompletionBlock) {
Task {
do {
let articleIDs = try await articleIDsForStatusesWithoutArticlesNewerThanCutoffDate()!
callArticleIDsCompletion(completion, .success(articleIDs))
} catch {
callArticleIDsCompletion(completion, .failure(.suspended))
}
}
}
nonisolated func mark(_ articles: Set<Article>, statusKey: ArticleStatus.Key, flag: Bool, completion: @escaping ArticleStatusesResultBlock) {
Task {