Ende.exit
function
function Ende.exit(code?: number): neverExit the Ende process with optional exit code.
If no exit code is supplied then Ende will exit with return code of 0.
In worker contexts this closes the current worker using Ende's internal
worker close operation. It does not call the current self.close property.
Ende.exit(5);