Scripts (ScriptService)
Introduction
Lightweight script services consist in moving logic that does not require connection to services from backend code to the request. Scripts can be written in the repository and then used in the request. The script code should be written in pure JavaScript (ES6 or newer). The code must be compatible with the JavaScript engine version provided by Rhino (http://mozilla.github.io/rhino/compat/engines.html).
Additionally have been disabled such elements as "eval".
Timeout
WARNING! The script execution time is limited to 1s, to eliminate cases of infinite loop/endless recursion. After one second, an exception will be thrown.
Last updated
Was this helpful?
