cancelOperationsWithCompletionHandler:
Cancels any in-progress or pending sync operations.
Declaration
- (void) cancelOperationsWithCompletionHandler:(void (^)()) completionHandler;Discussion
The sync engine processes cancellation requests asynchronously, meaning it’s possible for in-progress operations to complete even after this method returns.