Delete fetchStarredArticleIDsAsync.

This commit is contained in:
Brent Simmons 2024-04-03 22:42:32 -07:00
parent 3c59a04e98
commit 1824c15ddc
1 changed files with 0 additions and 13 deletions

View File

@ -58,19 +58,6 @@ public extension ArticlesDatabase {
// MARK: - Status
/// Fetch the articleIDs of starred articles.
nonisolated func fetchStarredArticleIDsAsync(completion: @escaping ArticleIDsCompletionBlock) {
Task {
do {
let articleIDs = try await starredArticleIDs()!
callArticleIDsCompletion(completion, .success(articleIDs))
} catch {
callArticleIDsCompletion(completion, .failure(.suspended))
}
}
}
/// 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) {