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.
nodejs typescript lock throttle ts node-js graceful-shutdown backpressure critical-section es2020 graceful-termination race-condition promise-lock event-loop-lock critical-block graceful-teardown wait-completion check-and-abort smart-reuse await-ongoing-execution
- Updated
Apr 13, 2025 - TypeScript