Waits for a hanging application. This method can be called in response to an application "not-responding" to allow the application to continue and to generate another "not-responding" message after a certain period of time.
Example
var application = new fin.desktop.Application({
name: 'openfin',
url:'http://www.openfin.co',
uuid:'OpenFinSiteUUID',
autoShow: true
});
application.run();
application.addEventListener("not-responding", function () {
console.log("waiting for hung application");
application.wait();
});