queuetopia v0.6.0 Queuetopia.Locks

Link to this section Summary

Link to this section Functions

Link to this function

lock_queue(repo, scope, queue, timeout)

Specs

lock_queue(module(), binary(), binary(), integer()) ::
  {:error, :locked} | {:ok, Queuetopia.Locks.Lock.t()}
Link to this function

release_expired_locks(repo, scope)

Specs

release_expired_locks(module(), binary()) :: any()
Link to this function

unlock_queue(repo, scope, queue)

Specs

unlock_queue(module(), binary(), binary()) :: any()