MCPcopy Index your code
hub / github.com/developit/asyncro / resolve

Function resolve

src/util.js:10–14  ·  view source on GitHub ↗
(list)

Source from the content-addressed store, hash-verified

8 * @private
9 */
10export function resolve(list) {
11 let out = Array.isArray(list) ? [] : {};
12 for (let i in list) if (list.hasOwnProperty(i)) out[i] = list[i]();
13 return out;
14}
15
16/** reduce() callback that pushes values into an Array accumulator
17 * @private

Callers 1

parallelFunction · 0.90

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…