repositories
/
poolifier.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
fix: ensure worker info is defined before accessing it
[poolifier.git]
/
src
/
circular-array.ts
diff --git
a/src/circular-array.ts
b/src/circular-array.ts
index 9cea08bcdd7f09463a2e7eeab323483b1ee676cc..cc58d8ace71f01f721d1798924b83d359ddc1dec 100644
(file)
--- a/
src/circular-array.ts
+++ b/
src/circular-array.ts
@@
-1,10
+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.
*
+ * @typeParam T - Type of items.
* @internal
*/
export class CircularArray<T> extends Array<T> {
* @internal
*/
export class CircularArray<T> extends Array<T> {