A mutex for guarding async workflows
Mutex locks for async functions with functionality to use keys for separate locks
Tiny mutex helper
A mutex for guarding async key based workflows
Useful TypeScript utilities.
Expose the Windows CreateMutex API to Node.JS
File based mutex
Async mutex lock for managing access to a shared resource
Mutex lock implemented using redis
Acquire a mutex in the browser through IndexedDB or cookies
process key locker
Generate functions that do not allow parallel executions
TypeScript definitions for windows-mutex
Awaitable semaphore/mutex
mutex lock for javascript
Use a mutex lock to prevent callback duplication, now used as a React hook
Isomorphic read/write lock that works in single processes, node clusters and web workers
Mutex for cross-tab coordination. Implemented using IndexedDB.
key-mapped read-write mutex lock that supports cluster and distributed network
Another Mutex/Semaphore implementation with first-class support of AbortSignal
Mutual exclusion made easy
Contract based mutex, allowing key-based or global locks.
LSK.js – mutex – async mutex
Distributed locking primitives for Redis - mutex and semaphore
This gem allows you to lock specific chunks of code based on a shared key. It's a Mutex, but locks beyond a single machine by utilizing Redis's SETNX.
SafeMemoize is a production-ready, zero-dependency memoization library for Ruby. It uses Ruby's prepend mechanism to wrap methods with a thread-safe cache (Mutex + double-check locking) that correctly handles nil and false return values — fixing the silent bug in the common ||= pattern. Results are cached per unique argument combination, so parameterized methods only compute each variant once. Additional features include TTL expiration, LRU cache size limiting, conditional caching via if:/unless: predicates, lifecycle hooks for hit/eviction/expiration events, per-instance metrics (hit rate, miss rate, computation time), targeted cache invalidation, custom cache key generators, and introspection helpers. Method visibility (public, protected, private) is fully preserved.
No description provided.
No description provided.
No description provided.