kevy4.0

XREAD

Read new entries from one or more streams, optionally blocking.

XREAD [COUNT count] [BLOCK milliseconds] STREAMS key [key ...] id [id ...]
Group
Stream
Since
1.0.0
Arity
at least 4
Flags
readonly blocking

Complexity

O(S * (log N + M)) over S streams; '$' is O(1); the park is O(1)

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

Redis compatibility

Differs

the '+' last-id form is not parsed — only explicit IDs and '$' are accepted

See also

XACKXADDXAUTOCLAIMXCLAIMXDELXGROUPXINFOXLENXPENDINGXRANGEXREADGROUPXREVRANGEXSETIDXTRIM

← All commands