createRouter
createRouter<
TService>(service,transport,options?):Router<TService>
Defined in: packages/pubsub/src/router.ts:50
Create a transport-neutral pubsub router bound to a subscriber transport.
Type Parameters
Section titled “Type Parameters”TService
Section titled “TService”TService extends GenService<GenServiceMethods>
Parameters
Section titled “Parameters”service
Section titled “service”TService
transport
Section titled “transport”options?
Section titled “options?”CreateRouterOptions<TService>
Returns
Section titled “Returns”Router<TService>