refactor: cleanup worker error handling code
[poolifier.git] / src / pools / worker-node.ts
index 7a6a1500f962e4cc948ad593f3f40e45d49e53ad..63aff757c5f4c670144af2cbebd4399dc0f766e7 100644 (file)
@@ -49,7 +49,7 @@ export class WorkerNode<Worker extends IWorker, Data = unknown>
    * Constructs a new worker node.
    *
    * @param type - The worker type.
-   * @param filePath - The worker file path.
+   * @param filePath - Path to the worker file.
    * @param opts - The worker node options.
    */
   constructor (type: WorkerType, filePath: string, opts: WorkerNodeOptions) {