MCPcopy Create free account
hub / github.com/colbymchenry/codegraph / worthParallel

Method worthParallel

src/resolution/resolver-pool.ts:322–324  ·  view source on GitHub ↗

Whether this batch is worth fanning out.

(batchLength: number)

Source from the content-addressed store, hash-verified

320
321 /** Whether this batch is worth fanning out. */
322 static worthParallel(batchLength: number): boolean {
323 return batchLength >= MIN_PARALLEL_BATCH;
324 }
325
326 async ready(): Promise<void> {
327 await Promise.all(this.workers.map((w) => w.ready));

Callers 1

beginBatchMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected