Database.Redis.Utils.Monad.Lock

redis-0.13: A driver for Redis key-value database

Safe Haskell | None

Database.Redis.Utils.Monad.Lock

Description

Same as Database.Redis.Utils.Lock but with monadic wrapped

# Documentation

acquire :: (WithRedis m, BS s) => s -> Int -> Int -> m Bool

acquire' :: (BS s, WithRedis m) => s -> Int -> m Bool

acquireOnce :: (BS b, WithRedis m) => b -> m Bool

release :: (WithRedis m, BS s) => s -> m ()