Create a watcher for application events
A javascript function/lambda to call when any application event is received. The function will be called with two parameters: the name of the event, and the associated HSApplication object
Create a watcher for application events