Delete fetchUnreadArticleIDsAsync.

This commit is contained in:
Brent Simmons
2024-04-03 22:24:36 -07:00
parent ba5fc89cbc
commit 186b9fbfba

View File

@@ -58,19 +58,6 @@ public extension ArticlesDatabase {
// MARK: - Status
/// Fetch the articleIDs of unread articles.
nonisolated func fetchUnreadArticleIDsAsync(completion: @escaping ArticleIDsCompletionBlock) {
Task {
do {
let articleIDs = try await unreadArticleIDs()!
callArticleIDsCompletion(completion, .success(articleIDs))
} catch {
callArticleIDsCompletion(completion, .failure(.suspended))
}
}
}
/// Fetch the articleIDs of starred articles.
nonisolated func fetchStarredArticleIDsAsync(completion: @escaping ArticleIDsCompletionBlock) {