Actions37
- Append
- Blocking Pop Left
- Blocking Pop Right
- Delete
- Eval
- Exists
- Expire At
- Get
- Get Set
- Hash Exists
- Hash Keys
- Hash Length
- Hash Values
- Increment
- Info
- JSON Get
- JSON Set
- Keys
- List Length
- Multi Get
- Multi Set
- Persist
- Pop
- Publish
- Push
- Scan
- Set
- Set Add
- Set Cardinality
- Set Is Member
- Set Remove
- Sorted Set Add
- Sorted Set Cardinality
- Sorted Set Range
- Sorted Set Remove
- String Length
- TTL
Blocking Pop Left
AI-generatedSummary
Perform a blocking pop operation from the left side of a Redis list, waiting for an element if the list is empty up to a specified timeout.
Inputs
- List (required) — Name of the Redis list to pop an element from.
- Timeout — Number of seconds to wait for an element if the list is empty; 0 means wait indefinitely.
- Name — Property name to write the popped data to inside the output JSON object.
Output shape
A single item JSON object containing the popped element under the specified property name. If an element is received, also includes the list name as 'list'. If the timeout is reached without receiving data, the property value is null.
The popped value is parsed as JSON if possible; otherwise, returned as a string. The operation blocks up to the timeout duration waiting for data. The output uses dot notation for the property name if applicable.
Examples
Example 1: Blocking pop from list named 'myQueue' with 5 seconds timeout, output in property 'poppedData'
Set List to 'myQueue', Timeout to 5, Name to 'poppedData'.