Method: Redis::Distributed#zmpop
- Defined in:
- lib/redis/distributed.rb
#zmpop(*keys, modifier: "MIN", count: nil) ⇒ Object
Iterate over keys, removing members from the first non empty sorted set found.
729 730 731 732 733 |
# File 'lib/redis/distributed.rb', line 729 def zmpop(*keys, modifier: "MIN", count: nil) ensure_same_node(:zmpop, keys) do |node| node.zmpop(*keys, modifier: modifier, count: count) end end |