feat: add task function properties support
[poolifier.git] / src / deque.ts
index 52441a3ec25f4f7251575104a0884f9ffeb22d00..5fb26770de369c581073abbd1b3fd752ab4695b5 100644 (file)
@@ -187,6 +187,11 @@ export class Deque<T> {
     }
   }
 
+  /**
+   * Increments the size of the deque.
+   *
+   * @returns The new size of the deque.
+   */
   private incrementSize (): number {
     ++this.size
     if (this.size > this.maxSize) {