docs: enhance worker choice strategies description
[poolifier.git] / src / pools / abstract-pool.ts
index 5d7e8cd82286749884ebdb726684e444bbd1c395..43abfda76c5ed9d07e3ae98fdecb6e40b5f9b025 100644 (file)
@@ -357,7 +357,9 @@ export abstract class AbstractPool<
    *
    * The pool filling boolean status.
    */
-  protected abstract get full (): boolean
+  protected get full (): boolean {
+    return this.workerNodes.length >= this.maxSize
+  }
 
   /**
    * Whether the pool is busy or not.