Method: Redis::Commands::Lists#brpop
- Defined in:
- lib/redis/commands/lists.rb
#brpop(*args) ⇒ nil, [String, String]
Remove and get the last element in a list, or block until one is available.
166 167 168 |
# File 'lib/redis/commands/lists.rb', line 166 def brpop(*args) _bpop(:brpop, args) end |