KumoApp.OnStop event

If an function is assigned to this event, it will be executed when the current KumoApp is stopped by user (by pressing the "Stop" button) or through IFTTT actions.

Any error will be logged as warning and will not affect the stopping of the current KumoApp.

The function will not take any argument and "this" keyword inside the function will refer to the KumoApp object.