GitHub topics: graceful-teardown
CursrrX/zero-overhead-promise-lock
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.
Size: 1.95 KB - Last synced at: 2 days ago - Pushed at: 2 days ago - Stars: 0 - Forks: 0

ori88c/auto-fetch-fifo-ttl-cache
An in-memory FIFO cache with fixed TTL for Node.js, designed to streamline the common get-or-fetch pattern by automating value retrieval. It uses an internal keyed lock to coalesce concurrent fetches for the same key, reducing redundant network calls and eliminating synchronization overhead for developers.
Language: TypeScript - Size: 48.8 KB - Last synced at: 8 days ago - Pushed at: about 1 month ago - Stars: 0 - Forks: 0

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.
Language: TypeScript - Size: 155 KB - Last synced at: 15 days ago - Pushed at: about 2 months ago - Stars: 0 - Forks: 0

ori88c/non-overlapping-recurring-task
A modern `setInterval` substitute tailored for asynchronous tasks, ensuring non-overlapping executions by skipping attempts if a previous execution is still in progress. Features graceful teardown (ideal for production apps demanding smooth resource cleanup), execution status getters, and a fixed delay between runs.
Language: TypeScript - Size: 103 KB - Last synced at: 22 days ago - Pushed at: about 2 months ago - Stars: 0 - Forks: 0

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.
Language: TypeScript - Size: 224 KB - Last synced at: 26 days ago - Pushed at: about 2 months ago - Stars: 0 - Forks: 0
