CreatePromiseAll (open)
The CreatePromiseAll function returns a new promise which is fulfilled with an array of fulfillment values for the passed promises, or rejects with the reason of the first passed promise that rejects.
Syntax
LOADLIB "wh::promise.whlib";
OBJECT FUNCTION CreatePromiseAll(OBJECT ARRAY promises)Parameters
OBJECT ARRAY promisesList of promises
Return value
OBJECTNew promise.