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

Method worthParallel

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

Whether this batch is worth fanning out.

(batchLength: number)

Source from the content-addressed store, hash-verified

357
358 /** Whether this batch is worth fanning out. */
359 static worthParallel(batchLength: number): boolean {
360 return batchLength >= MIN_PARALLEL_BATCH;
361 }
362
363 async ready(): Promise<void> {
364 await Promise.all(this.workers.map((w) => w.ready));

Callers 1

beginBatchMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected