Returns a copy of the source promises.
Protected
_onReturns a promise that is fulfilled with an array containing the fulfillment value of each promise, or is rejected with the same rejection reason as the first promise to be rejected.
Waits for all the values to resolve and then applies a transform.
Applies a transform to each promise and defers the result. Unlike map, this doesn't wait for all promises to resolve, ultimately improving the async nature of the request.
Creates a Promise that is resolved or rejected when any of the provided Promises are resolved or rejected.
A new Promise.
Behaves like array reduce. Creates the promise chain necessary to produce the desired result.
Optional
i: numberOptional
array: PromiseLike<T>[]Optional
initialValue: T | PromiseLike<T>Behaves like array reduce. Creates the promise chain necessary to produce the desired result.
Optional
i: numberOptional
array: PromiseLike<T>[]Returns a promise that is fulfilled with array of provided promises when all provided promises have resolved (fulfill or reject). Unlike .all this method waits for all rejections as well as fulfillment.
Generated using TypeDoc
A Promise collection exposes useful methods for handling a collection of promises and their results.