From ea0aaddc7ede5b4718833d9cf1397bf0a1294164 Mon Sep 17 00:00:00 2001 From: Sidharth Vinod Date: Thu, 20 Oct 2022 12:17:06 +0530 Subject: [PATCH] Comments --- src/lib/util/util.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/src/lib/util/util.ts b/src/lib/util/util.ts index 480aae7a..97383e38 100644 --- a/src/lib/util/util.ts +++ b/src/lib/util/util.ts @@ -37,6 +37,7 @@ export const errorDebug = (limit = 100) => { } }; +// To queue async tasks so they are executed one after the other, not concurrently. export class AsyncQueue { private readonly queue: T[] = []; private running = false;