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

Method worthParallel

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

Whether this batch is worth fanning out.

(batchLength: number)

Source from the content-addressed store, hash-verified

224
225 /** Whether this batch is worth fanning out. */
226 static worthParallel(batchLength: number): boolean {
227 return batchLength >= MIN_PARALLEL_BATCH;
228 }
229
230 async ready(): Promise<void> {
231 await Promise.all(this.workers.map((w) => w.ready));

Callers 1

beginBatchMethod · 0.80

Calls

no outgoing calls

Tested by

no test coverage detected