Type Alias: DispacheClass()<IncomingEventType, OutgoingResponseType>
Type Alias: DispacheClass()<IncomingEventType, OutgoingResponseType>
type DispacheClass<IncomingEventType, OutgoingResponseType> = (...args) => IDispacher<IncomingEventType, OutgoingResponseType>;
Represents a class dispatcher.
Type Parameters
IncomingEventType
IncomingEventType extends IIncomingEvent
OutgoingResponseType
OutgoingResponseType = unknown
Parameters
args
...any[]
Returns
IDispacher<IncomingEventType, OutgoingResponseType>
