Per-key asyncio locking with automatic cleanup and graceful-shutdown support. Zero dependencies.
-
Updated
Apr 10, 2026 - Python
Per-key asyncio locking with automatic cleanup and graceful-shutdown support. Zero dependencies.
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.
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.
To associate your repository with the keyed-lock topic, visit your repo's landing page and select "manage topics."