Query if the current VM is requiring you to gracefully terminate current script.
Syntax |
shouldEnd(): bool |
---|---|
Result |
Return true if should end, false otherwise |
Notes: |
Some VM implementation, left an amount of time before killing the script, so you when you detected the shouldEnd() you should end as soon as possible. |