BLMOVE

Moves an element from the source's left end to the destination's right end, with a waiting timeout.

Lists · Example verified

Syntax covered here

BLMOVE source destination LEFT RIGHT timeout-seconds

The case verifies immediate movement from a populated source and null on timeout for a missing source.

Tested example & replies

Requests below run in order against an empty database. Each connection authenticates with the fixture password first. Quoted values are strings; null is a nil reply; arrays preserve RESP order.

# connection: default
> RPUSH queue a b c
3
# connection: default
> BLMOVE queue destination LEFT RIGHT 0.1
"a"
# connection: default
> BLMOVE missing-list destination LEFT RIGHT 0.1
null