Skip to main content

Function: generateSocketRoutesEventBus()

generateSocketRoutesEventBus(baseRouteName, componentName): ISocketRoute<any, any>[]

The socket routes for event bus.

Parameters

baseRouteName

string

Prefix to prepend to the paths.

componentName

string

The name of the component to use in the routes stored in the ComponentFactory.

Returns

ISocketRoute<any, any>[]

The generated routes.