Constructor
new EventBusSubscriber(type, callback)
Parameters:
Name | Type | Description |
---|---|---|
type |
Array.<string> | |
callback |
Help4.observer.Callback |
- Source:
Methods
destroy()
destroys the EventBusSubscriber
- Source:
onEvent(event)
the event bus has fired an event
dispatch to our callback if accepted
Parameters:
Name | Type | Description |
---|---|---|
event |
Object |
- Source: