- constructor(workerScript: string, min: number, max: number, workerStartDelay?: number, opts?: PoolOptions<Worker>,
- messageListenerCallback: (message: any) => void = () => { /* This is intentional */ }) {
- super(workerScript, workerStartDelay, messageListenerCallback);
+ constructor(workerScript: string, min: number, max: number, workerStartDelay?: number, opts?: PoolOptions<Worker>) {
+ super(workerScript, workerStartDelay);