Interface: IEventHandler<TEvent, UResponse>
Interface: IEventHandler<TEvent, UResponse>
EventHandler Interface. Represents an event handler for processing incoming events and returning outgoing responses.
Template
UResponse
Type Parameters
TEvent
TEvent
extends IncomingEvent
= IncomingEvent
UResponse
UResponse
= unknown
Properties
handle
handle: FunctionalEventHandler<TEvent, UResponse>;