Promises in SuiteScript 2.1 Server Scripts
SuiteScript 2.1 supports non-blocking asynchronous server-side Promises. You can use the async and await keywords with supported APIs in the following modules:
Note:
Server-side Promise support is limited to these modules. Using Promises with unsupported module APIs results in an error.
Related Topics
- Differences Between SuiteScript 2.0 and SuiteScript 2.1
-
SuiteScript 2.1 Language Examples