---
title: cancelOperations()
framework: cloudkit
role: symbol
role_heading: Instance Method
path: cloudkit/cksyncengine-5sie5/canceloperations()
---

# cancelOperations()

Cancels any in-progress or pending sync operations.

## Declaration

```swift
final func cancelOperations() async
```

## Discussion

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