Instance Property


A Boolean value indicating whether the operation is long-lived.


var isLongLived: Bool { get set }


To create a long-lived operation, set to true. The default value is false. If the operation is running or is a long-lived operation fetched from a CKContainer object, changing this property value has no effect.

For more information on long-lived operations, read Long-Lived Operations.

See Also

Creating Long-Lived Operations

var longLivedOperationWasPersistedBlock: (() -> Void)?

The block to execute when the server starts storing callbacks for this long-lived operation.