Verk.SortedSet.clear

You're seeing just the function clear, go back to Verk.SortedSet module for more information.

Specs

clear(String.t(), GenServer.server()) ::
  {:ok, boolean()} | {:error, Redix.Error.t()}

Clears the sorted set.

It will return {:ok, true} if the sorted set was cleared and {:ok, false} otherwise.

An error tuple may be returned if Redis failed.