---
title: "CKSyncEngine.Event.willSendChanges(_:)"
framework: cloudkit
role: symbol
role_heading: Case
path: "cloudkit/cksyncengine-5sie5/event/willsendchanges(_:)"
---

# CKSyncEngine.Event.willSendChanges(_:)

The sync engine is about to send changes to the server.

## Declaration

```swift
case willSendChanges(CKSyncEngine.Event.WillSendChanges)
```

## Discussion

Discussion A send operation may send all local changes, only changes to a specific set of records, or only those in a specific record zone. Use this case’s associated value to determine the scope for the current operation. For more information, see CKSyncEngine.SendChangesContext.

## See Also

### Pending local changes

- [CKSyncEngine.Event.WillSendChanges](cloudkit/cksyncengine-5sie5/event/willsendchanges.md)
- [CKSyncEngine.Event.sentDatabaseChanges(_:)](cloudkit/cksyncengine-5sie5/event/sentdatabasechanges(_:).md)
- [CKSyncEngine.Event.SentDatabaseChanges](cloudkit/cksyncengine-5sie5/event/sentdatabasechanges.md)
- [CKSyncEngine.Event.sentRecordZoneChanges(_:)](cloudkit/cksyncengine-5sie5/event/sentrecordzonechanges(_:).md)
- [CKSyncEngine.Event.SentRecordZoneChanges](cloudkit/cksyncengine-5sie5/event/sentrecordzonechanges.md)
- [CKSyncEngine.Event.didSendChanges(_:)](cloudkit/cksyncengine-5sie5/event/didsendchanges(_:).md)
- [CKSyncEngine.Event.DidSendChanges](cloudkit/cksyncengine-5sie5/event/didsendchanges.md)
