A factory that creates named locks. Each lock is keyed by the cache key to ensure concurrent writes to the same cache entry are serialised while writes to different entries can proceed in parallel.
OptionalonlyMethods?: WithCacheWriteLockMethods[]The subset of mutating methods to protect with a write lock. When omitted, all mutating methods are protected.
Settings for the withCacheWriteLock plugin.
IMPORT_PATH:
"@daiso-tech/core/cache/plugins"