APIActive

BLPOP

Blocking list pop primitive that blocks the connection until an element is available to pop from the head of a list.

Open source page

Field note

What it does

BLPOP is a blocking list pop primitive and the blocking version of LPOP. It blocks the connection when there are no elements to pop from any of the given lists, checking keys in order and popping from the first non-empty list. Supports timeout configuration including indefinite blocking with timeout 0.

Capabilities

Available capabilities

Tags

Tags

Ways to use it

Ways to use it

sdk

Not filed / https://redis.io/docs/latest/commands/blpop/

Product features

Product features

Code Examples Legend

Examples

Java (Synchronous - Jedis)

JavaScript (Node.js)

Python

Redis CLI

Redis Streams

Ruby

Rust (Asynchronous)

Stream command summary

Stream command summary (part 2)

Stream command summary (part 3)