Internal
Returns the shared generic worker pool instance. Prefer using higher-level helpers where available.
Optional
export function getGenericWorkerPool( config?: Partial<WorkerPoolConfig>,): WorkerPool { workerPoolInstance ??= new WorkerPool(config); return workerPoolInstance;} Copy
export function getGenericWorkerPool( config?: Partial<WorkerPoolConfig>,): WorkerPool { workerPoolInstance ??= new WorkerPool(config); return workerPoolInstance;}
Returns the shared generic worker pool instance. Prefer using higher-level helpers where available.