Skip to content

Commit

Permalink
Merge pull request #47 from dnafication/patch-1
Browse files Browse the repository at this point in the history
async keyword redundant
  • Loading branch information
lmammino authored Nov 30, 2021
2 parents 13a5503 + 9b11c8d commit 8f75db8
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -20,7 +20,7 @@ export class TaskQueuePC {
}
}

async getNextTask () {
getNextTask () {
return new Promise((resolve) => {
if (this.taskQueue.length !== 0) {
return resolve(this.taskQueue.shift())
Expand Down

0 comments on commit 8f75db8

Please sign in to comment.