DirtyHairy/async-mutex (async-mutex)
### [`v0.4.1`](https://togithub.com/DirtyHairy/async-mutex/blob/HEAD/CHANGELOG.md#041)
[Compare Source](https://togithub.com/DirtyHairy/async-mutex/compare/v0.4.0...v0.4.1)
- Expand documentation and fix a few errors.
- Clear timeout after acquiring a lock in `withTimeout`.
- Thanks to AkatQuas and aryzing for their contributions.
- Update dependencies.
### [`v0.4.0`](https://togithub.com/DirtyHairy/async-mutex/blob/HEAD/CHANGELOG.md#040)
[Compare Source](https://togithub.com/DirtyHairy/async-mutex/compare/v0.3.2...v0.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](https://togithub.com/DirtyHairy/async-mutex/issues/52)).
- `waitForUnlock` times out if the `withTimeout` decorator is used.
Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
[ ] If you want to rebase/retry this PR, check this box
This PR has been generated by Mend Renovate. View repository job log here.
This PR contains the following updates:
^0.3.2
->^0.4.0
Release Notes
DirtyHairy/async-mutex (async-mutex)
### [`v0.4.1`](https://togithub.com/DirtyHairy/async-mutex/blob/HEAD/CHANGELOG.md#041) [Compare Source](https://togithub.com/DirtyHairy/async-mutex/compare/v0.4.0...v0.4.1) - Expand documentation and fix a few errors. - Clear timeout after acquiring a lock in `withTimeout`. - Thanks to AkatQuas and aryzing for their contributions. - Update dependencies. ### [`v0.4.0`](https://togithub.com/DirtyHairy/async-mutex/blob/HEAD/CHANGELOG.md#040) [Compare Source](https://togithub.com/DirtyHairy/async-mutex/compare/v0.3.2...v0.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](https://togithub.com/DirtyHairy/async-mutex/issues/52)). - `waitForUnlock` times out if the `withTimeout` decorator is used.Configuration
📅 Schedule: Branch creation - At any time (no schedule defined), Automerge - At any time (no schedule defined).
🚦 Automerge: Disabled by config. Please merge this manually once you are satisfied.
♻ Rebasing: Whenever PR becomes conflicted, or you tick the rebase/retry checkbox.
🔕 Ignore: Close this PR and you won't be reminded about this update again.
This PR has been generated by Mend Renovate. View repository job log here.