Type Alias: LazyComponentEventHandler()<IncomingEventType, OutgoingResponseType>
Type Alias: LazyComponentEventHandler()<IncomingEventType, OutgoingResponseType>
type LazyComponentEventHandler<IncomingEventType, OutgoingResponseType> = () => Promise<ComponentEventHandlerType<IncomingEventType, OutgoingResponseType>>;
Represents a lazy component event handler.
Type Parameters
IncomingEventType
IncomingEventType extends IIncomingEvent
The type representing the incoming event.
OutgoingResponseType
OutgoingResponseType = unknown
The type representing the outgoing response.
Returns
Promise<ComponentEventHandlerType<IncomingEventType, OutgoingResponseType>>
