Search
Preparing search index...
The search index is not available
@pebula/nesbus
Options
All
Public
Public/Protected
All
Inherited
Menu
Globals
SbSubscriberRouter
Class SbSubscriberRouter
Hierarchy
SbSubscriberRouter
Index
Constructors
constructor
Methods
create
Router
Handler
register
Route
Handler
Constructors
constructor
new
SbSubscriber
Router
(
contextFactory
:
SbSubscriberRoutingContextFactory
, configurator
?:
SbConfigurator
)
:
SbSubscriberRouter
Parameters
contextFactory:
SbSubscriberRoutingContextFactory
Optional
configurator:
SbConfigurator
Returns
SbSubscriberRouter
Methods
create
Router
Handler
create
Router
Handler<T>
(
routeInstructions
:
RouteToCommit
<
T
>
)
:
Promise
<
void
>
Type parameters
T
:
"pipe"
|
"method"
Parameters
routeInstructions:
RouteToCommit
<
T
>
Returns
Promise
<
void
>
register
Route
Handler
register
Route
Handler<T>
(
routeHandler
:
SbSubscriberRouteHandler
<
T
>
)
:
void
Type parameters
T
:
keyof
SbSubscriberTypeMap
Parameters
routeHandler:
SbSubscriberRouteHandler
<
T
>
Returns
void
Globals
Sb
Subscriber
Router
constructor
create
Router
Handler
register
Route
Handler
Generated using
TypeDoc