handleEvent abstract method
Handles one event.
The engine waits for the returned future before it delivers the next event. If it completes with an error, the engine stops so that the unhandled changes are delivered again after the next start; calls then throw CloudKitSyncException.engineNotRunning.
Do not call CloudKitSyncEngine.fetchChanges or
CloudKitSyncEngine.sendChanges here. CKSyncEngine does not support
starting a fetch or send while it delivers an event, and both complete
only after their own events are handled.
Implementation
Future<void> handleEvent(CloudKitSyncEvent event);