EventManager

EventManager

new EventManager()

Properties:
Name Type Description
manifest EngineScript.Manifest
Source:

Methods

call(_channel, _data)

Invoke Event to the specified channel.

Source:
Parameters:
Name Type Description
_channel string
_data *

on(_channel, …_callbacks)

Listen to an event on specified channel.

Source:
Parameters:
Name Type Attributes Description
_channel string
_callbacks function <repeatable>