Utility function to define a route with function-based handler.
The EventHandler module.
Optional route definition options.
The RouterBlueprint.
Utility function to define a route with factory-based handler.
The EventHandler module.
Route definition options with isFactory set to true.
OptionalisClass?: undefinedIndicates that the handler is a factory function.
The RouterBlueprint.
Utility function to define a route with class-based handler.
The EventHandler module.
Route definition options with isClass and action.
The action name for the event handler.
Indicates that the handler is a class.
OptionalisFactory?: undefinedThe RouterBlueprint.
Utility function to define a route.
Param: module
The EventHandler module.
Param: options
Route definition options.
Param: options.isFactory
Indicates that the handler is a factory function.
Param: options.isClass
Indicates that the handler is a class.
Param: options.action
The action name for the event handler.
Returns
The RouterBlueprint.