MCPcopy
hub / github.com/cujojs/when / all

Function all

when.js:181–183  ·  view source on GitHub ↗

* Return a promise that will fulfill once all input promises have * fulfilled, or reject when any one input promise rejects. * @param {array|Promise} promises array (or promise for an array) of promises * @returns {Promise}

(promises)

Source from the content-addressed store, hash-verified

179 * @returns {Promise}
180 */
181 function all(promises) {
182 return when(promises, Promise.all);
183 }
184
185 /**
186 * Return a promise that will always fulfill with an array containing

Callers

nothing calls this directly

Calls 1

whenFunction · 0.85

Tested by

no test coverage detected