---
title: "timedInvokeRequest(withExpectedValues:expectedValueInterval:completion:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrclusterunittesting/timedinvokerequest(withexpectedvalues:expectedvalueinterval:completion:)"
---

# timedInvokeRequest(withExpectedValues:expectedValueInterval:completion:)

## Declaration

```swift
func timedInvokeRequest(withExpectedValues expectedValues: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?, completion: @escaping @Sendable ((any Error)?) -> Void)
```

```swift
func timedInvokeRequest(withExpectedValues expectedValues: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
```
