Redis Advanced icon

Redis Advanced

Get, send and update data in Redis with enhanced operations

Blocking Pop Right

AI-generated

Summary

Blockingly pop an element from the right end of a specified Redis list, waiting up to a given timeout if the list is empty.

Inputs

  • List (required) — Name of the Redis list to pop from.
  • Timeout (required) — Timeout in seconds to wait for an element if the list is empty; 0 means wait indefinitely.
  • Name (required) — Name of the property in the output JSON where the popped value will be stored.

Output shape

A single JSON object per input item, containing the popped element under the specified property with the original list name also returned.

If an element is popped, the value is parsed as JSON if possible before being assigned; if no element is received within the timeout, the specified property is set to null. The output includes a 'list' property specifying the Redis list name from which the element was popped.

Discussion