---
title: CHHapticEngine.CompletionHandler
framework: corehaptics
role: symbol
role_heading: Type Alias
path: corehaptics/chhapticengine/completionhandler
---

# CHHapticEngine.CompletionHandler

A typealias for a completion handler that the engine calls after starting or stopping.

## Declaration

```swift
typealias CompletionHandler = ((any Error)?) -> Void
```

## See Also

### Starting and Stopping the Haptic Engine

- [start()](corehaptics/chhapticengine/start().md)
- [start(completionHandler:)](corehaptics/chhapticengine/start(completionhandler:).md)
- [stop(completionHandler:)](corehaptics/chhapticengine/stop(completionhandler:).md)
