BRPOPLPUSH
Since 1.1.0Lists
Syntax
BRPOPLPUSH source destination timeoutRPOPLPUSH that waits until source has an element or timeout seconds have passed. Use BLMOVE in new code.
Reply
- The element moved, or
nilif the timeout passed.
Examples
> BRPOPLPUSH empty dst 0.1
(nil)