Caplin Trader 5.1.0

Class: module:br/EventHub

module:br/EventHub()

Create the event hub. This generally isn't required as it's already constructed and made available to apps via the Service Registry

Constructor

new module:br/EventHub()

Methods

channel(channelName)

Get a named channel from the event hub.

Parameters:
Name Type Description
channelName String

The name of the channel

See:
Returns:

An Emitr object.