Async - script API
StackState Self-hosted v4.6.x
This page describes StackState version 4.6.
The Script API functions are executed asynchronously and instead of returning result directly they return a
promiseof result in the form of
AsyncScript API offers functions to work with
Flattening async results of Script API functions.
list- the list of
The example below will return the AsyncScriptResult of the list of results of functions
Optionally the flattening can be done implicitly with