Lock mechanism for promises, using a linked list like implementation
-
Updated
Sep 14, 2023 - TypeScript
Lock mechanism for promises, using a linked list like implementation
Promise based simple mutex for JS: preventing from running same code block at the same time.
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.
An efficient Promise lock for Node.js projects, ensuring mutually exclusive execution of asynchronous tasks. Key features include gracefully awaiting the completion of all currently executing or pending tasks, making it ideal for robust production applications requiring smooth teardown.
Add a description, image, and links to the promise-lock topic page so that developers can more easily learn about it.
To associate your repository with the promise-lock topic, visit your repo's landing page and select "manage topics."