perf: avoid branching on pool type
[poolifier.git] / src / pools / thread / fixed.ts
index 088d72c920092cb8637b5f86edbdedf62432f672..f7557a57c3640981b827daa00d4fe298715c836d 100644 (file)
@@ -113,6 +113,9 @@ export class FixedThreadPool<
     return false
   }
 
+  /** @inheritDoc */
+  protected checkAndEmitDynamicWorkerCreationEvents (): void {}
+
   /** @inheritDoc */
   protected get type (): PoolType {
     return PoolTypes.fixed