---
title: "readAttributeBarrierCommandCloseEvents(completionHandler:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusterbarriercontrol/readattributebarriercommandcloseevents(completionhandler:)"
---

# readAttributeBarrierCommandCloseEvents(completionHandler:)

## Declaration

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

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