---
title: "resetCounts(completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclusterwifinetworkdiagnostics/resetcounts(completion:)"
---

# resetCounts(completion:)

## Declaration

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

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