---
title: "testEmitTestEventRequest(with:completionHandler:)"
framework: matter
role: symbol
role_heading: Instance Method
path: "matter/mtrbaseclustertestcluster/testemittesteventrequest(with:completionhandler:)"
---

# testEmitTestEventRequest(with:completionHandler:)

## Declaration

```swift
func testEmitTestEventRequest(with params: MTRTestClusterClusterTestEmitTestEventRequestParams, completionHandler: @escaping @Sendable (MTRTestClusterClusterTestEmitTestEventResponseParams?, (any Error)?) -> Void)
```

```swift
func testEmitTestEventRequest(with params: MTRTestClusterClusterTestEmitTestEventRequestParams) async throws -> MTRTestClusterClusterTestEmitTestEventResponseParams
```
