The block to execute when the change token has been updated.
- iOS 10.0+
- macOS 10.12+
- Mac Catalyst 13.0+
- tvOS 10.0+
- watchOS 3.0+
The block returns no value and takes the following parameters:
The ID of the zone with the updated token.
The new change token from the server. You can store this token locally and use it during subsequent fetch operations to limit the results to records that changed since this operation executed.
The last client change token received from this device. If this change token is not the last change token you provided, the server may not have received the associated changes.
The operation object executes this block once for each record zone. Each time the block is executed, it is executed serially with respect to the other progress blocks of the operation.
If you intend to use this block to process results, set it before executing the operation or submitting it to a queue.