WIP: test #8

Draft
loewy wants to merge 61 commits from async-queue-shaka into master
Showing only changes of commit 20397d32e6 - Show all commits

View File

@@ -23,9 +23,11 @@ class ActionQueue {
private async runNext() {
if (this.isRunning || this.queue.length === 0) {
console.log("Refusing to run in runNext", this.queue.length, this.isRunning);
return;
}
this.isRunning = true;
console.log("Running an action");
const action = this.queue.shift();
if (action) {
try {