---
title: "readAttributeLatch(completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusterdishwasheralarm/readattributelatch(completion:)"
---

# readAttributeLatch(completion:)

## Declaration

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

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