repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
build(deps): bump poolifier in /examples/typescript/http-client-pool
[poolifier.git]
/
src
/
circular-array.ts
diff --git
a/src/circular-array.ts
b/src/circular-array.ts
index bb958d8287519acf91efc4c7a1468fe422da0a86..511b699c8827a2a214efe63e2fce9dfabfcee73a 100644
(file)
--- a/
src/circular-array.ts
+++ b/
src/circular-array.ts
@@
-1,9
+1,12
@@
-// Copyright Jerome Benoit. 2021-202
3
. All Rights Reserved.
+// Copyright Jerome Benoit. 2021-202
4
. 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.
/**
* Array with a maximum length and shifting items when full.
+ *
+ * @typeParam T - Type of items.
+ * @internal
*/
export class CircularArray<T> extends Array<T> {
public size: number
*/
export class CircularArray<T> extends Array<T> {
public size: number