MCPcopy Create free account
hub / github.com/ZenNotes/zennotes / run

Function run

apps/desktop/src/main/vault.ts:2465–2471  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

2463 let nextIndex = 0
2464
2465 const run = async (): Promise<void> => {
2466 while (nextIndex < items.length) {
2467 const index = nextIndex
2468 nextIndex += 1
2469 results[index] = await worker(items[index], index)
2470 }
2471 }
2472
2473 const workers = Array.from(
2474 { length: Math.min(limit, items.length) },

Callers 1

mapLimitFunction · 0.70

Calls

no outgoing calls

Tested by

no test coverage detected