mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-30 09:18:18 +00:00
Delete fetchUnreadArticleIDsAsync.
This commit is contained in:
1 parent
ba5fc89cbc
commit
186b9fbfba
1 file changed
-13
@@ -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