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;