<!--
 ⚠️  AUTO-GENERATED FILE - DO NOT EDIT MANUALLY
 This file is automatically generated by scripts/docs-generator.js
 To make changes, edit the source TypeScript files or update the generator script
-->

[agents](../../) / [Exports](../modules) / IEventService

# Interface: IEventService

Minimal EventService contract for emitting events.
Subscriptions are handled by dedicated modules (e.g., EventEmitterPlugin), not here.

## Implemented by

- [`AbstractEventService`](../classes/AbstractEventService)

## Table of contents

### Methods

- [emit](IEventService#emit)

## Methods

### emit

▸ **emit**(`eventType`, `data`, `context?`): `void`

#### Parameters

| Name        | Type                               |
| :---------- | :--------------------------------- |
| `eventType` | `string`                           |
| `data`      | [`IBaseEventData`](IBaseEventData) |
| `context?`  | [`IEventContext`](IEventContext)   |

#### Returns

`void`

#### Defined in

[packages/agents/src/interfaces/event-service.ts:87](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/interfaces/event-service.ts#L87)
