Method: Redis::Distributed#bzmpop
- Defined in:
- lib/redis/distributed.rb
#bzmpop(timeout, *keys, modifier: "MIN", count: nil) ⇒ Object
Iterate over keys, blocking and removing members from the first non empty sorted set found.
722 723 724 725 726 |
# File 'lib/redis/distributed.rb', line 722 def bzmpop(timeout, *keys, modifier: "MIN", count: nil) ensure_same_node(:bzmpop, keys) do |node| node.bzmpop(timeout, *keys, modifier: modifier, count: count) end end |