View Source RedisMutex.Lock (redis_mutex v1.0.0)

Defines the lock for RedisMutex.

Summary

Functions

Link to this function

with_lock(key, fun, opts \\ [])

View Source
@spec with_lock(key :: String.t(), fun :: (-> any()), opts :: RedisMutex.lock_opts()) ::
  any()