Add a pool option to register a message listener on pool workers (#487)
[poolifier.git] / src / pools / thread / dynamic.ts
index 932a0cd5ab40dcd454f90eaf8977f30b9194c2a0..361c615c78a8724421748036900021d550c9535e 100644 (file)
@@ -24,7 +24,7 @@ export class DynamicThreadPool<
    * @param min Minimum number of threads which are always active.
    * @param max Maximum number of threads that can be created by this pool.
    * @param filePath Path to an implementation of a `ThreadWorker` file, which can be relative or absolute.
-   * @param opts Options for this dynamic thread pool. Default: `{}`
+   * @param [opts={}] Options for this dynamic thread pool.
    */
   public constructor (
     min: number,