Redis_lwt.Mutex
module IO = IO
module Client = Client
val acquire :
Client.connection ->
?atime:float ->
?ltime:int ->
string ->
string ->
unit IO.t
val release : Client.connection -> string -> string -> unit IO.t
val with_mutex :
Client.connection ->
?atime:float ->
?ltime:int ->
string ->
(unit -> 'a IO.t) ->
'a IO.t