---
jsApi: true
title: "[F] $onEmit"

---
```ts
$onEmit(context): Promise<void>
```

## Parameters

| Parameter | Type |
| :------ | :------ |
| `context` | `EmitContext`<`OpenAPI3EmitterOptions`\> |

## Returns

`Promise`<`void`\>
