return results from CollapsedQueue.performAllNow

This commit is contained in:
Hazelnoot 2025-06-25 12:08:52 -04:00
parent 0491ea55cc
commit a3bcc474b7

View file

@ -42,6 +42,6 @@ export class CollapsedQueue<K, V> {
for (const [_key, job] of entries) {
this.timeService.stopTimer(job.timer);
}
await Promise.allSettled(entries.map(([key, job]) => this.perform(key, job.value)));
return await Promise.allSettled(entries.map(([key, job]) => this.perform(key, job.value)));
}
}