web-locks icon indicating copy to clipboard operation
web-locks copied to clipboard

Web Locks API ๐Ÿ”’

Results 15 web-locks issues
Sort by recently updated
recently updated
newest added

* Options: * Mode: exclusive/shared * Abort signal * `ifAvailable` flag * Nested locks * Simple usage * Deadlocks * Live locks * Implementation switching * Single-threaded * Multi-threaded

enhancement

```js await locks.request(Symbol('Resource name'), async lock => { // use named resource and release it after return }); ```

enhancement

Implement and introduce queue mentioned in #50 - [x] tests and linter show no problems (`npm t`) - [x] tests are added/updated for bug fixes and new features - [x]...

Bumps [word-wrap](https://github.com/jonschlinkert/word-wrap) from 1.2.3 to 1.2.4. Release notes Sourced from word-wrap's releases. 1.2.4 What's Changed Remove default indent by @โ€‹mohd-akram in jonschlinkert/word-wrap#24 ๐Ÿ”’fix: CVE 2023 26115 (2) by @โ€‹OlafConijn in...

dependencies

Internaly web-locks uses default array as a queue and it can cause performance issues in case of drasticaly growing consumers amount. The solution would be to replace current queue with...