Method: Redis#brpop
- Defined in:
- lib/redis.rb
#brpop(*args) ⇒ Object
Remove and get the last element in a list, or block until one is available.
383 384 385 386 387 |
# File 'lib/redis.rb', line 383 def brpop(*args) synchronize do @client.call_without_timeout(:brpop, *args) end end |