---
title: "readAttributeAcceptedCommandList(withClusterStateCache:endpoint:queue:completion:)"
framework: matter
role: symbol
role_heading: Type Method
path: "matter/mtrbaseclusterdishwashermode/readattributeacceptedcommandlist(withclusterstatecache:endpoint:queue:completion:)"
---

# readAttributeAcceptedCommandList(withClusterStateCache:endpoint:queue:completion:)

## Declaration

```swift
class func readAttributeAcceptedCommandList(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t, completion: @escaping @Sendable ([Any]?, (any Error)?) -> Void)
```

```swift
class func readAttributeAcceptedCommandList(withClusterStateCache clusterStateCacheContainer: MTRClusterStateCacheContainer, endpoint: NSNumber, queue: dispatch_queue_t) async throws -> [Any]
```
