---
jsApi: true
title: "[T] EmitterFunc"

---
```ts
type EmitterFunc: (context) => Promise<void> | void;
```

## Parameters

| Parameter | Type |
| :------ | :------ |
| `context` | [`EmitContext`](../interfaces/EmitContext.md) |

## Returns

`Promise`<`void`\> \| `void`
