Skip to content

chore(deps): bump async-mutex from 0.3.2 to 0.4.0 in /packages/server

Bumps async-mutex from 0.3.2 to 0.4.0.

Changelog

Sourced from async-mutex's changelog.

0.4.0

This is a full rewrite of the core implementation.

  • Allow negative values for semaphores.
  • Allow weights for semaphore.acquire and semaphore.runExclusive. A waiter will be dispatched once the value of the semaphore is greater or equal to its weight.
  • Add semaphore.getValue and semaphore.setValue.
  • Allow weights for semaphore.waitForUnlock. The promise will only resolve once the value of the semaphore is greater or equal to its weight.
  • Only resolve waitForUnlock once no waiters remain (fixes #52).
  • waitForUnlock times out if the withTimeout decorator is used.
Commits


Dependabot commands
You can trigger Dependabot actions by commenting on this MR
  • $dependabot rebase will rebase this MR
  • $dependabot recreate will recreate this MR rewriting all the manual changes and resolving conflicts

Merge request reports

Loading