---
title: "step(with:expectedValues:expectedValueInterval:completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrclusterfancontrol/step(with:expectedvalues:expectedvalueinterval:completion:)"
---

# step(with:expectedValues:expectedValueInterval:completion:)

## Declaration

```swift
func step(with params: MTRFanControlClusterStepParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?, completion: @escaping @Sendable ((any Error)?) -> Void)
```

```swift
func step(with params: MTRFanControlClusterStepParams, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
```
