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
await-ongoing-execution backpressure check-and-abort critical-block critical-section es2020 event-loop-lock graceful-shutdown graceful-teardown graceful-termination lock node-js nodejs promise-lock race-condition smart-reuse throttle ts typescript wait-completion
Last synced: 5 months 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 (over 1 year ago)
- Default Branch: main
- Last Pushed: 2025-04-13T04:26:30.000Z (over 1 year ago)
- Last Synced: 2025-09-30T03:39:50.096Z (10 months ago)
- Topics: await-ongoing-execution, backpressure, check-and-abort, critical-block, critical-section, es2020, event-loop-lock, graceful-shutdown, graceful-teardown, graceful-termination, lock, node-js, nodejs, promise-lock, race-condition, smart-reuse, throttle, ts, typescript, wait-completion
- Language: TypeScript
- Homepage:
- Size: 224 KB
- Stars: 0
- Watchers: 1
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE