---
title: "resetCounts(completionHandler:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusterthreadnetworkdiagnostics/resetcounts(completionhandler:)"
---

# resetCounts(completionHandler:)

## Declaration

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

```swift
func resetCounts() async throws
```
