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

# close(withExpectedValues:expectedValueInterval:completion:)

## Declaration

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

```swift
func close(withExpectedValues expectedValues: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
```
