<!--
 ⚠️  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) / DefaultEventService

# Class: DefaultEventService

Default no-op event service (production-safe).
When injected, emit() intentionally does nothing.

## Hierarchy

- [`AbstractEventService`](AbstractEventService)

  ↳ **`DefaultEventService`**

## Table of contents

### Constructors

- [constructor](DefaultEventService#constructor)

### Methods

- [emit](DefaultEventService#emit)

## Constructors

### constructor

• **new DefaultEventService**(): [`DefaultEventService`](DefaultEventService)

#### Returns

[`DefaultEventService`](DefaultEventService)

#### Inherited from

[AbstractEventService](AbstractEventService).[constructor](AbstractEventService#constructor)

## Methods

### emit

▸ **emit**(`_eventType`, `_data`, `_context?`): `void`

#### Parameters

| Name         | Type                                             |
| :----------- | :----------------------------------------------- |
| `_eventType` | `string`                                         |
| `_data`      | [`IBaseEventData`](../interfaces/IBaseEventData) |
| `_context?`  | [`IEventContext`](../interfaces/IEventContext)   |

#### Returns

`void`

#### Overrides

[AbstractEventService](AbstractEventService).[emit](AbstractEventService#emit)

#### Defined in

[packages/agents/src/services/event-service.ts:36](https://github.com/woojubb/robota/blob/4f4c8a3197e92ddd43d12dc9186b0771983054c9/packages/agents/src/services/event-service.ts#L36)
