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

Function settle

when.js:192–194  ·  view source on GitHub ↗

* Return a promise that will always fulfill with an array containing * the outcome states of all input promises. The returned promise * will only reject if `promises` itself is a rejected promise. * @param {array|Promise} promises array (or promise for an array) of promises * @returns {Prom

(promises)

Source from the content-addressed store, hash-verified

190 * @returns {Promise} promise for array of settled state descriptors
191 */
192 function settle(promises) {
193 return when(promises, Promise.settle);
194 }
195
196 /**
197 * Promise-aware array map function, similar to `Array.prototype.map()`,

Callers

nothing calls this directly

Calls 1

whenFunction · 0.85

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…