Type Alias: IMatcher()<IncomingEventType, OutgoingResponseType>
Type Alias: IMatcher()<IncomingEventType, OutgoingResponseType>
type IMatcher<IncomingEventType, OutgoingResponseType> = (options) => boolean;
Defines the structure for route matchers.
Type Parameters
IncomingEventType
IncomingEventType extends IIncomingEvent
OutgoingResponseType
OutgoingResponseType = unknown
Parameters
options
MatcherOptions<IncomingEventType, OutgoingResponseType>
Returns
boolean
