Promise

ApplicationPrototype.Builder. Promise

new Promise(handler) → {PromiseLike.<any>}

Source:
Parameters:
Name Type Description
handler function
Returns:
Type
PromiseLike.<any>

Methods

(static) all(items) → {PromiseLike.<Array.<any>>}

Source:
Parameters:
Name Type Description
items Array.<Promise>
Returns:
Type
PromiseLike.<Array.<any>>

(static) race(items) → {PromiseLike.<Array.<any>>}

Source:
Parameters:
Name Type Description
items Array.<Promise>
Returns:
Type
PromiseLike.<Array.<any>>

(static) reject(value) → {PromiseLike.<Error>}

Source:
Parameters:
Name Type Description
value any
Returns:
Type
PromiseLike.<Error>

(static) resolve(value) → {PromiseLike.<any>}

Source:
Parameters:
Name Type Description
value any
Returns:
Type
PromiseLike.<any>