Interface: IComponentEventHandler<IncomingEventType, OutgoingResponseType>
Interface: IComponentEventHandler<IncomingEventType, OutgoingResponseType>
Represents a component event handler.
Type Parameters
IncomingEventType
IncomingEventType
extends IIncomingEvent
The type representing the incoming event.
OutgoingResponseType
OutgoingResponseType
= unknown
The type representing the outgoing response.
Properties
handle?
optional handle: FunctionalEventHandler<IncomingEventType, OutgoingResponseType>;
head()?
optional head: (options) => Promiseable<HeadContext>;
Parameters
options
any
Returns
Promiseable
<HeadContext
>
render()
render: (options) => unknown;
Parameters
options
any
Returns
unknown