repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge dependabot/npm_and_yarn/examples/typescript/websocket-server-pool/ws-worker_thr...
[poolifier.git]
/
src
/
circular-array.ts
diff --git
a/src/circular-array.ts
b/src/circular-array.ts
index bb958d8287519acf91efc4c7a1468fe422da0a86..8f545179ab2a90feb3d06fec15ee038552a25221 100644
(file)
--- a/
src/circular-array.ts
+++ b/
src/circular-array.ts
@@
-1,9
+1,11
@@
// Copyright Jerome Benoit. 2021-2023. All Rights Reserved.
// 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.
/**
* Array with a maximum length and shifting items when full.
+ *
+ * @internal
*/
export class CircularArray<T> extends Array<T> {
public size: number
*/
export class CircularArray<T> extends Array<T> {
public size: number