fix: fix worker node removal handling in worker choice strategies
[poolifier.git] / src / circular-array.ts
index 9cea08bcdd7f09463a2e7eeab323483b1ee676cc..cc58d8ace71f01f721d1798924b83d359ddc1dec 100644 (file)
@@ -1,10 +1,11 @@
 // Copyright Jerome Benoit. 2021-2023. All Rights Reserved.
 
-const DEFAULT_CIRCULAR_ARRAY_SIZE = 1024
+export const DEFAULT_CIRCULAR_ARRAY_SIZE = 1024
 
 /**
  * Array with a maximum length and shifting items when full.
  *
+ * @typeParam T - Type of items.
  * @internal
  */
 export class CircularArray<T> extends Array<T> {