Class: Callbacks

.heartbeatjs~ Callbacks

Constructor

new Callbacks()

Collects and executes callback functions
Source:

Methods

execute(changedObjopt, changedAttributesopt, prevCallbackObjectopt)

Executes all registered callback functions
Parameters:
Name Type Attributes Description
changedObj any <optional>
Object that was changed
changedAttributes Array.<string> <optional>
Attributes of the object that changed
prevCallbackObject CallbackObject <optional>
Previous callback object in the callback chain
Source:

getClassDisplayName() → {string}

Returns the display name of the class
Source:
Returns:
Type
string

register(callback)

Register a callback function for execution
Parameters:
Name Type Description
callback function Function to call during execution
Source: