* 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)
| 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()`, |
nothing calls this directly
no test coverage detected
searching dependent graphs…