MCPcopy Create free account
hub / github.com/adobe/react-spectrum / run

Function run

scripts/verdaccio-seed.js:103–108  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

101 const results = [];
102 let index = 0;
103 async function run() {
104 while (index < items.length) {
105 const i = index++;
106 results[i] = await worker(items[i]);
107 }
108 }
109 await Promise.all(Array.from({length: Math.min(size, items.length)}, run));
110 return results;
111}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected