---
title: "stop(withExpectedValues:expectedValueInterval:completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrclusterovencavityoperationalstate/stop(withexpectedvalues:expectedvalueinterval:completion:)"
---

# stop(withExpectedValues:expectedValueInterval:completion:)

## Declaration

```swift
func stop(withExpectedValues expectedValues: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?, completion: @escaping @Sendable (MTROvenCavityOperationalStateClusterOperationalCommandResponseParams?, (any Error)?) -> Void)
```

```swift
func stop(withExpectedValues expectedValues: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws -> MTROvenCavityOperationalStateClusterOperationalCommandResponseParams
```
