Skip to content

bodhi-realtime-agent / EventHandler

Type Alias: EventHandler<T> ​

EventHandler<T> = (payload) => void

Defined in: src/core/event-bus.ts:4

Callback function type for a specific event type.

Type Parameters ​

T ​

T extends EventType

Parameters ​

payload ​

EventPayload<T>

Returns ​

void

Built with VitePress