kevy4.0

BLPOP

Blocking left pop across one or more lists (effect logged as LPOP).

BLPOP key [key ...] timeout
Group
List
Since
1.0.0
Arity
at least 3
Flags
write blocking

Complexity

O(1) to serve; the park is O(1) and waiters are woken FIFO per key

Complexity and compatibility are read out of kevy's implementation, not copied from Redis's reference. Several genuinely differ.

Redis compatibility

Differs

on a multi-shard server the multi-key form does not honour Redis's left-to-right key priority — keys on the connection's own shard are served before remote ones

See also

BRPOPBRPOPLPUSHLINDEXLLENLMOVELPOPLPOSLPUSHLRANGELREMLSETLTRIMRPOPRPOPLPUSHRPUSH

← All commands