---
title: CMStepUpdateHandler
framework: coremotion
role: symbol
role_heading: Type Alias
path: coremotion/cmstepupdatehandler
---

# CMStepUpdateHandler

A block that reports the number of steps recorded since updates began.

## Declaration

```swift
typealias CMStepUpdateHandler = (Int, Date, (any Error)?) -> Void
```

## Discussion

Discussion This block takes the following parameters:

## See Also

### Starting and Stopping Step Counting Updates

- [startStepCountingUpdates(to:updateOn:withHandler:)](coremotion/cmstepcounter/startstepcountingupdates(to:updateon:withhandler:).md)
- [stopStepCountingUpdates()](coremotion/cmstepcounter/stopstepcountingupdates().md)
