Skip to content

Connectum API Reference / @connectum/events / types / TypedEventHandler

Type Alias: TypedEventHandler<I> ​

TypedEventHandler<I> = (event, ctx) => Promise<void>

Defined in: packages/events/src/types.ts:197

Typed event handler for a specific message type

Type Parameters ​

I ​

I

Parameters ​

event ​

I

ctx ​

EventContext

Returns ​

Promise<void>