Contents

modifySubscriptionsResultBlock

The closure to execute after CloudKit modifies all of the subscriptions.

Declaration

var modifySubscriptionsResultBlock: ((Result<Void, any Error>) -> Void)? { get set }

Discussion

The closure returns no value and takes the following parameter:

  • A Result that contains either:

    • A successful Result, or

    • An error that contains information about a problem encountered modifying the subscriptions.

The closure executes only once, and represents your final opportunity to process the operation’s results. The closure executes serially with respect to the other closures of the operation.

Update the value of this property before you execute the operation or submit it to a queue.