View Source RedisMutex.Lock (redis_mutex v1.1.0)
Defines the lock for RedisMutex.
Summary
Functions
@spec with_lock(key :: String.t(), fun :: (-> any()), opts :: RedisMutex.lock_opts()) :: any()
Defines the lock for RedisMutex.
@spec with_lock(key :: String.t(), fun :: (-> any()), opts :: RedisMutex.lock_opts()) :: any()