Add eslint-plugin-jsdoc (#142)
[poolifier.git] / src / pools / cluster / dynamic.ts
index 99fa828d733e15f82363d373bb8fa593d383880f..3d523890463c1d82a05d200dd16a269557107220 100644 (file)
@@ -42,6 +42,8 @@ export class DynamicClusterPool<
    * It will first check for and return an idle worker.
    * If all workers are busy, then it will try to create a new one up to the `max` worker count.
    * If the max worker count is reached, the emitter will emit a `FullPool` event and it will fall back to using a round robin algorithm to distribute the load.
+   *
+   * @returns Cluster worker.
    */
   protected chooseWorker (): Worker {
     let worker: Worker | undefined