[**agentfootprint**](../README.md)

***

[agentfootprint](/agentfootprint/api/generated/README.md) / EventListener

# Type Alias: EventListener\<K\>

> **EventListener**\<`K`\> = (`event`) => `void`

Defined in: [src/events/dispatcher.ts:33](https://github.com/footprintjs/agentfootprint/blob/d1cb45510740421f2b84b6de9f852a72e94bb106/src/events/dispatcher.ts#L33)

## Type Parameters

### K

`K` *extends* [`AgentfootprintEventType`](/agentfootprint/api/generated/type-aliases/AgentfootprintEventType.md)

## Parameters

### event

[`AgentfootprintEventMap`](/agentfootprint/api/generated/interfaces/AgentfootprintEventMap.md)\[`K`\]

## Returns

`void`
