Skip to content

Documentation / @ripl/core / EventHandler

Type Alias: EventHandler<TData> ​

EventHandler<TData> = (event) => void & EventSubscriptionOptions

Defined in: packages/core/src/core/event-bus.ts:53

A callable event handler function with optional subscription options.

Type Parameters ​

Type ParameterDefault type
TDataany