aboutsummaryrefslogtreecommitdiff
path: root/src/utils/Queue.ts
diff options
context:
space:
mode:
Diffstat (limited to 'src/utils/Queue.ts')
-rw-r--r--src/utils/Queue.ts2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/utils/Queue.ts b/src/utils/Queue.ts
index 86eb791..2680f56 100644
--- a/src/utils/Queue.ts
+++ b/src/utils/Queue.ts
@@ -27,7 +27,7 @@ export class Queue {
* @param maxSize The maximum amount of functions that can be queued at once.
* If the queue is full, the oldest function will be removed.
*/
- constructor(public maxSize = Infinity) { }
+ constructor(public readonly maxSize = Infinity) { }
private queue = [] as Array<() => Promisable<unknown>>;