+++
# -----------------------------------------------------------------------
# Do not edit this file. It is automatically generated by API Documenter.
# -----------------------------------------------------------------------
title = "eventFactory"
keywords = ["grafana","documentation","sdk","@grafana/data"]
type = "docs"
draft = true
+++

## eventFactory() function

### eventFactory() function

<b>Signature</b>

```typescript
export declare function eventFactory<T = undefined>(name: string): AppEvent<T>;
```
<b>Import</b>

```typescript
import { eventFactory } from '@grafana/data';
```
<b>Parameters</b>

|  Parameter | Type | Description |
|  --- | --- | --- |
|  name | <code>string</code> |  |

<b>Returns:</b>

`AppEvent<T>`

