Methods
(async, static) evaluateExpressionAsync(expr, optionsopt, nullable, localsopt, nullable, builtinsopt)
Evaluate an expression model asynchronously. Use this form of the function if you have any asynchronous functions.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
expr |
Object | The expression model |
||
options |
Object |
<optional> <nullable> |
null | |
locals |
Object |
<optional> <nullable> |
null | The local variables |
builtins |
boolean |
<optional> |
true | If true, include the built-in expression functions |
- Source:
Throws:
Returns:
The expression result
(static) executeScriptAsync(script, optionsopt)
Execute a BareScript model asynchronously. Use this form of the function if you have any global asynchronous functions.
Parameters:
Name | Type | Attributes | Default | Description |
---|---|---|---|---|
script |
Object | The BareScript model |
||
options |
Object |
<optional> |
{} |
- Source:
Throws:
Returns:
The script result