https://github.com/ori88c/zero-overhead-keyed-promise-lock
An efficient keyed Promise lock for Node.js projects, ensuring the mutually exclusive execution of tasks associated with the same key. Key features include active key metrics and the ability to gracefully await the completion of all currently executing or pending tasks, making it ideal for robust production applications requiring smooth teardown.
https://github.com/ori88c/zero-overhead-keyed-promise-lock
async-lock check-and-abort critical-section event-loop-lock fifo-per-key graceful-teardown keyed-lock keyed-mutex keyed-promise-lock lock-by-key mutex mutex-lock nodejs promise-lock promises-in-javascript race-condition sequential sequential-per-key sequential-processing typescript
Last synced: 4 months ago
JSON representation
An efficient keyed Promise lock for Node.js projects, ensuring the mutually exclusive execution of tasks associated with the same key. Key features include active key metrics and the ability to gracefully await the completion of all currently executing or pending tasks, making it ideal for robust production applications requiring smooth teardown.
- Host: GitHub
- URL: https://github.com/ori88c/zero-overhead-keyed-promise-lock
- Owner: ori88c
- License: apache-2.0
- Created: 2025-02-23T20:20:06.000Z (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-19T23:17:44.000Z (about 1 year ago)
- Last Synced: 2025-10-10T01:58:18.586Z (8 months ago)
- Topics: async-lock, check-and-abort, critical-section, event-loop-lock, fifo-per-key, graceful-teardown, keyed-lock, keyed-mutex, keyed-promise-lock, lock-by-key, mutex, mutex-lock, nodejs, promise-lock, promises-in-javascript, race-condition, sequential, sequential-per-key, sequential-processing, typescript
- Language: TypeScript
- Homepage:
- Size: 155 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0