Represents a factory event handler.
The type representing the incoming event.
The type representing the outgoing response.
Optional
The route resolver.
A functional event handler.
Represents a factory event handler.