Create idsforMissingArticles function to replace FeedlyFetchIDsForMissingArticlesOperation.

This commit is contained in:
Brent Simmons 2024-04-28 14:12:03 -07:00
parent d5f996768b
commit 1a99c955b0
1 changed files with 9 additions and 0 deletions

View File

@ -821,6 +821,15 @@ final class FeedlyAccountDelegate: AccountDelegate {
}
}
func idsforMissingArticles() async throws -> Set<String>? {
// To replace FeedlyFetchIDsForMissingArticlesOperation
guard let account else { return nil }
return try await account.fetchArticleIDsForStatusesWithoutArticlesNewerThanCutoffDate()
}
// MARK: Suspend and Resume (for iOS)
/// Suspend all network activity