---
title: "writeAttributeEpochS(withValue:completionHandler:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclustertestcluster/writeattributeepochs(withvalue:completionhandler:)"
---

# writeAttributeEpochS(withValue:completionHandler:)

## Declaration

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

```swift
func writeAttributeEpochS(withValue value: NSNumber) async throws
```
