NSOA.context.remainingTime()

Use this function to determine how much time your script has remaining to execute (excluding wsapi call time) before it is terminated by Scripting Governance.

You can use this function to help you create more efficient scripts and also to take corrective action if a script is at risk of consuming excessive resources.

Parameters

Returns

Units Limit

For more information, see Scripting Governance.

Since

Example

For more information see Scripting Governance.