Method: Redis#blpop

Defined in:
lib/redis.rb

#blpop(*args) ⇒ Object

Remove and get the first element in a list, or block until one is available.



383
384
385
386
387
# File 'lib/redis.rb', line 383

def blpop(*args)
  synchronize do
    @client.call_without_timeout(:blpop, *args)
  end
end