BLMOVE
Since 1.1.0Lists
Syntax
BLMOVE source destination LEFT|RIGHT LEFT|RIGHT timeoutLMOVE that waits, as BLPOP does, until source has an element or timeout seconds have passed.
Reply
- The element moved.
nilif the timeout passed.
Examples
> RPUSH b2 1 2
(integer) 2
> BLMOVE b2 b3 LEFT RIGHT 1
"1"