Add a pool option to register a message listener on pool workers (#487)
[poolifier.git] / src / pools / thread / fixed.ts
index a13023409bfad3493f79f2757f9a1623749e8b20..e3f9602cd93cdfc3a3e03b3ab7860fe25cdb5135 100644 (file)
@@ -30,7 +30,7 @@ export class FixedThreadPool<
    *
    * @param numberOfThreads Number of threads for this pool.
    * @param filePath Path to an implementation of a `ThreadWorker` file, which can be relative or absolute.
-   * @param opts Options for this fixed thread pool. Default: `{}`
+   * @param [opts={}] Options for this fixed thread pool.
    */
   public constructor (
     numberOfThreads: number,