In Redis, the LMPOP
command pops one or more elements from the first non-empty list key from the list of provided key names.
The LMPOP
command is similar to LPOP
, except that it can accept multiple keys. It’s also similar to BLPOP
(which accepts multiple keys), except that it can pop multiple elements (BLPOP
can only pop one element).