MCPcopy Index your code
hub / github.com/promptfoo/promptfoo / getWorkerCount

Method getWorkerCount

src/python/workerPool.ts:119–121  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

117 }
118
119 getWorkerCount(): number {
120 return this.workers.length;
121 }
122
123 async shutdown(): Promise<void> {
124 logger.debug(`Shutting down Python worker pool (${this.workers.length} workers)`);

Callers 1

workerPool.test.tsFile · 0.45

Calls

no outgoing calls

Tested by

no test coverage detected