Move CloudKitReceiveStatusOperation to CloudKitSync module.
This commit is contained in:
parent
c0561cfaa9
commit
5bd8ff4f6a
|
@ -9,9 +9,8 @@
|
||||||
import Foundation
|
import Foundation
|
||||||
import os.log
|
import os.log
|
||||||
import Core
|
import Core
|
||||||
import CloudKitSync
|
|
||||||
|
|
||||||
final class CloudKitReceiveStatusOperation: MainThreadOperation {
|
public final class CloudKitReceiveStatusOperation: MainThreadOperation {
|
||||||
|
|
||||||
private var log = OSLog(subsystem: Bundle.main.bundleIdentifier!, category: "CloudKit")
|
private var log = OSLog(subsystem: Bundle.main.bundleIdentifier!, category: "CloudKit")
|
||||||
|
|
||||||
|
@ -24,11 +23,11 @@ final class CloudKitReceiveStatusOperation: MainThreadOperation {
|
||||||
|
|
||||||
private weak var articlesZone: CloudKitArticlesZone?
|
private weak var articlesZone: CloudKitArticlesZone?
|
||||||
|
|
||||||
init(articlesZone: CloudKitArticlesZone) {
|
public init(articlesZone: CloudKitArticlesZone) {
|
||||||
self.articlesZone = articlesZone
|
self.articlesZone = articlesZone
|
||||||
}
|
}
|
||||||
|
|
||||||
@MainActor func run() {
|
@MainActor public func run() {
|
||||||
|
|
||||||
guard let articlesZone else {
|
guard let articlesZone else {
|
||||||
operationDelegate?.operationDidComplete(self)
|
operationDelegate?.operationDidComplete(self)
|
Loading…
Reference in New Issue