Contents

cancelOperationsWithCompletionHandler:

Cancels any in-progress or pending sync operations.

Declaration

- (void) cancelOperationsWithCompletionHandler:(void (^)()) completionHandler;

Discussion

The sync engine processes cancelation requests asynchronously, meaning it’s possible for in-progress operations to complete even after this method returns.