BZPOPMIN
BZPOPMIN key [key ...] timeout
#Example
redis> DEL zset1 zset2 (integer) 0 redis> ZADD zset1 0 a 1 b 2 c (integer) 3 redis> BZPOPMIN zset1 zset2 0 1) "zset1" 2) "a" 3) "0"
Remove and return the member with the lowest score from one or more sorted sets, or block until one is available
Comments