Method: Redis#blpop
- Defined in:
- lib/redis.rb
#blpop(*args) ⇒ nil, [String, String]
Remove and get the first element in a list, or block until one is available.
1084 1085 1086 |
# File 'lib/redis.rb', line 1084 def blpop(*args) _bpop(:blpop, args) end |