From 186b9fbfba71eeee1be69332a2071cb997c69b19 Mon Sep 17 00:00:00 2001 From: Brent Simmons Date: Wed, 3 Apr 2024 22:24:36 -0700 Subject: [PATCH] Delete fetchUnreadArticleIDsAsync. --- .../ArticlesDatabaseCompatibility.swift | 13 ------------- 1 file changed, 13 deletions(-) diff --git a/ArticlesDatabase/Sources/ArticlesDatabase/ArticlesDatabaseCompatibility.swift b/ArticlesDatabase/Sources/ArticlesDatabase/ArticlesDatabaseCompatibility.swift index ee648e638..e5b077cbd 100644 --- a/ArticlesDatabase/Sources/ArticlesDatabase/ArticlesDatabaseCompatibility.swift +++ b/ArticlesDatabase/Sources/ArticlesDatabase/ArticlesDatabaseCompatibility.swift @@ -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) {