docs: refine code comment
[poolifier.git] / src / pools / abstract-pool.ts
index ebc7b5d95f1d3fd84bb00ff0b689bc8ce18bade9..56bd0348829590429dc465944fef22b9f28c4b4c 100644 (file)
@@ -131,9 +131,9 @@ export abstract class AbstractPool<
    * Constructs a new poolifier pool.
    *
    * @param minimumNumberOfWorkers - Minimum number of workers that this pool should manage.
-   * @param maximumNumberOfWorkers - Maximum number of workers that this pool should manage.
    * @param filePath - Path to the worker file.
    * @param opts - Options for the pool.
+   * @param maximumNumberOfWorkers - Maximum number of workers that this pool should manage.
    */
   public constructor (
     protected readonly minimumNumberOfWorkers: number,