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
andsemaphore.runExclusive
. A waiter will be dispatched once the value of the semaphore is greater or equal to its weight.- Add
semaphore.getValue
andsemaphore.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 thewithTimeout
decorator is used.
Commits
-
3d2d987
Changelog. -
ca09cc6
Typos, add tests for #52 -
fe6c607
Documentation. -
364c02c
Make waitForUnlock respect timeout. -
2286dfd
Tests. -
40e917f
Fixes'n'tests. -
413dfd6
Fixes, add weight to waitForUnlock -
7d28f3b
Rewrite semaphore with support for negative values. -
28ba3af
Remove release() deprecation -
1a706d0
Update dependencies. - Additional commits viewable in compare view
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