Namespace: eventBus

WebiApplication.eventBus

Represents the Web Intelligence extensions eventbus namespace object.

Methods

(static) publish(obj)

Publish new data on particular event
Parameters:
Name Type Description
obj Object
Properties
Name Type Description
channelId String the channel id.
eventId String the event id.
data Object the data

(static) subscribe(obj)

Register the event on the channelId
Parameters:
Name Type Description
obj Object
Properties
Name Type Description
channelId String the channel id.
eventId String the event id.
callback function the callback

(static) unsubscribe(obj)

Unregister the event from the channelId
Parameters:
Name Type Description
obj Object
Properties
Name Type Description
channelId String the channel id.
eventId String the event id.
callback function the callback