fetchSubscriptionsResultBlock
The closure to execute after CloudKit retrieves all of the subscriptions.
Declaration
var fetchSubscriptionsResultBlock: ((Result<Void, any Error>) -> Void)? { get set }Discussion
This property is a closure that returns no value and has the following parameter:
A Result that contains either:
A successful
Result, orAn error that contains information about a problem encountered retrieving the subscriptions.
The fetch operation executes this closure only once. The closure executes before the operation’s completion closure. The closure executes serially with respect to the other closures of the operation.
If you intend to use this closure to process results, set it before you execute the operation or submit the operation to a queue.