---
title: "close(with:completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclustervalveconfigurationandcontrol/close(with:completion:)"
---

# close(with:completion:)

## Declaration

```swift
func close(with params: MTRValveConfigurationAndControlClusterCloseParams?, completion: @escaping @Sendable ((any Error)?) -> Void)
```

```swift
func close(with params: MTRValveConfigurationAndControlClusterCloseParams?) async throws
```
