https://github.com/ori88c/zero-overhead-promise-lock
An efficient Promise lock for Node.js projects, ensuring mutually exclusive execution of asynchronous tasks. Key features include a backpressure indicator 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-promise-lock
backpressure check-and-abort critical-block critical-section deterministic-termination es2020 event-loop-lock graceful-shutdown graceful-teardown graceful-termination lock node-js nodejs promise-lock race-condition rate-limiting throttle ts typescript wait-completion
Last synced: about 1 month ago
JSON representation
An efficient Promise lock for Node.js projects, ensuring mutually exclusive execution of asynchronous tasks. Key features include a backpressure indicator 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-promise-lock
- Owner: ori88c
- License: apache-2.0
- Created: 2025-01-25T23:05:12.000Z (4 months ago)
- Default Branch: main
- Last Pushed: 2025-02-24T23:05:03.000Z (3 months ago)
- Last Synced: 2025-02-24T23:11:12.738Z (3 months ago)
- Topics: backpressure, check-and-abort, critical-block, critical-section, deterministic-termination, es2020, event-loop-lock, graceful-shutdown, graceful-teardown, graceful-termination, lock, node-js, nodejs, promise-lock, race-condition, rate-limiting, throttle, ts, typescript, wait-completion
- Language: TypeScript
- Homepage:
- Size: 166 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0