mirror of
https://github.com/Ranchero-Software/NetNewsWire
synced 2026-11-28 08:17:16 +00:00
Convert Secrets and SyncDatabase to approachable concurrency.
This commit is contained in:
1 parent
3a3dea47b6
commit
94aacab419
9 files changed
+27
-22
No files matched your search
@@ -11,7 +11,7 @@ import Articles
|
||||
import RSDatabase
|
||||
import RSDatabaseObjC
|
||||
|
||||
struct SyncStatusTable {
|
||||
nonisolated struct SyncStatusTable {
|
||||
static let name = "syncStatus"
|
||||
|
||||
static func selectForProcessing(limit: Int?, database: FMDatabase) -> Set<SyncStatus>? {
|
||||
@@ -98,7 +98,7 @@ struct SyncStatusTable {
|
||||
}
|
||||
}
|
||||
|
||||
private extension SyncStatusTable {
|
||||
nonisolated private extension SyncStatusTable {
|
||||
|
||||
static func statusWithRow(_ row: FMResultSet) -> SyncStatus? {
|
||||
guard let articleID = row.string(forColumn: DatabaseKey.articleID),
|
||||
|
||||
Reference in new issue
Block a user