applicationStop

Stops current application

applicationStop() → returns void

Links more information about applicationStop

Examples sample code invoking the applicationStop function

Halt the application.

var applicationRequiresHalt = true;
if(applicationRequiresHalt) applicationStop();
writeOutput("Still Running");

Expected Result: // We don't expect anything to happen after the application has been stopped.


Fork me on GitHub