---
title: "readAttributeCapacity(completionHandler:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusterpumpconfigurationandcontrol/readattributecapacity(completionhandler:)"
---

# readAttributeCapacity(completionHandler:)

## Declaration

```swift
func readAttributeCapacity(completionHandler: @escaping @Sendable (NSNumber?, (any Error)?) -> Void)
```

```swift
func readAttributeCapacity() async throws -> NSNumber
```
