class Redis

def bzpopmin(*args)

Returns:
  • (nil) - when no element could be popped and the timeout expired
  • (Array) - a touple of key, member and score

Other tags:
    Example: Popping a member from multiple sorted sets -
    Example: Popping a member from a sorted set -
def bzpopmin(*args)
  _bpop(:bzpopmin, args) do |reply|
    reply.is_a?(Array) ? [reply[0], reply[1], Floatify.call(reply[2])] : reply
  end
end