Move CloudKitReceiveStatusOperation to CloudKitSync module.

This commit is contained in:
Brent Simmons 2024-04-21 12:18:47 -07:00
parent c0561cfaa9
commit 5bd8ff4f6a
1 changed files with 4 additions and 5 deletions

View File

@ -9,10 +9,9 @@
import Foundation
import os.log
import Core
import CloudKitSync
final class CloudKitReceiveStatusOperation: MainThreadOperation {
public final class CloudKitReceiveStatusOperation: MainThreadOperation {
private var log = OSLog(subsystem: Bundle.main.bundleIdentifier!, category: "CloudKit")
// MainThreadOperation
@ -24,11 +23,11 @@ final class CloudKitReceiveStatusOperation: MainThreadOperation {
private weak var articlesZone: CloudKitArticlesZone?
init(articlesZone: CloudKitArticlesZone) {
public init(articlesZone: CloudKitArticlesZone) {
self.articlesZone = articlesZone
}
@MainActor func run() {
@MainActor public func run() {
guard let articlesZone else {
operationDelegate?.operationDidComplete(self)