mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2025-08-12 06:26:36 +00:00
Delete fetchUnreadArticleIDsAsync.
This commit is contained in:
@@ -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) {
|
||||
|
||||
|
||||
Reference in New Issue
Block a user