---
title: "readAttributeChannel(completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusterthreadnetworkdiagnostics/readattributechannel(completion:)"
---

# readAttributeChannel(completion:)

## Declaration

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

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