Method: Redis::Distributed#lmpop
- Defined in:
- lib/redis/distributed.rb
#lmpop(*keys, modifier: "LEFT", count: nil) ⇒ Object
Iterate over keys, removing elements from the first non list found.
563 564 565 566 567 |
# File 'lib/redis/distributed.rb', line 563 def lmpop(*keys, modifier: "LEFT", count: nil) ensure_same_node(:lmpop, keys) do |node| node.lmpop(*keys, modifier: modifier, count: count) end end |