Method: Redis::Distributed#bzpopmax

Defined in:
lib/redis/distributed.rb

#bzpopmax(*args) ⇒ Object



499
500
501
502
503
# File 'lib/redis/distributed.rb', line 499

def bzpopmax(*args)
  _bpop(:bzpopmax, args) do |reply|
    reply.is_a?(Array) ? [reply[0], reply[1], Floatify.call(reply[2])] : reply
  end
end