Skip to content

Commit

Permalink
Semaphore.acquire should return symbol
Browse files Browse the repository at this point in the history
Signed-off-by: Marcel Klehr <mklehr@gmx.net>
  • Loading branch information
marcelklehr committed Nov 4, 2022
1 parent 1325fa9 commit 1aaca9d
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/utils/semaphoreWithPriority.js
Original file line number Diff line number Diff line change
Expand Up @@ -36,6 +36,7 @@ export default class SemaphoreWithPriority {
if (this.#active.length < this.#capacity) {
this.#callNextJob()
}
return symbol
})
}

Expand Down

0 comments on commit 1aaca9d

Please sign in to comment.