MCPcopy Create free account
hub / github.com/MALSync/MALSync / asyncForEach

Function asyncForEach

src/background/releaseProgress.ts:125–129  ·  view source on GitHub ↗
(array, callback)

Source from the content-addressed store, hash-verified

123 }
124
125 async function asyncForEach(array, callback) {
126 for (let index = 0; index < array.length; index++) {
127 await callback(array[index], index, array);
128 }
129 }
130
131 const remoteUpdateList: listElement[] = [];
132 await asyncForEach(Array, async el => {

Callers 1

multipleFunction · 0.85

Calls 1

callbackFunction · 0.50

Tested by

no test coverage detected