+ super(min, filePath, opts, max)
+ checkDynamicPoolSize(
+ this.minimumNumberOfWorkers,
+ this.maximumNumberOfWorkers
+ )
+ }
+
+ /** @inheritDoc */
+ protected shallCreateDynamicWorker (): boolean {
+ return (!this.full && this.internalBusy()) || this.empty
+ }
+
+ /** @inheritDoc */
+ protected checkAndEmitDynamicWorkerCreationEvents (): void {
+ if (this.full) {
+ this.emitter?.emit(PoolEvents.full, this.info)
+ }