---
title: "timedInvokeRequest(with:expectedValues:expectedValueInterval:completionHandler:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrclustertestcluster/timedinvokerequest(with:expectedvalues:expectedvalueinterval:completionhandler:)"
---

# timedInvokeRequest(with:expectedValues:expectedValueInterval:completionHandler:)

## Declaration

```swift
func timedInvokeRequest(with params: MTRTestClusterClusterTimedInvokeRequestParams?, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?, completionHandler: @escaping @Sendable ((any Error)?) -> Void)
```

```swift
func timedInvokeRequest(with params: MTRTestClusterClusterTimedInvokeRequestParams?, expectedValues expectedDataValueDictionaries: [[String : Any]]?, expectedValueInterval expectedValueIntervalMs: NSNumber?) async throws
```
