Pub/sub

📄️ PSUBSCRIBE Listen for messages published to channels matching the given patterns

📄️ PUBLISH Post a message to a channel

📄️ PUBSUB CHANNELS List active channels

📄️ PUBSUB HELP Show helpful text about the different subcommands

📄️ PUBSUB NUMPAT Get the count of unique patterns pattern subscriptions

📄️ PUBSUB NUMSUB Get the count of subscribers for channels

📄️ PUBSUB SHARDCHANNELS List active shard channels

📄️ PUBSUB SHARDNUMSUB Get the count of subscribers for shard channels

📄️ PUBSUB A container for Pub/Sub commands

📄️ PUNSUBSCRIBE Stop listening for messages posted to channels matching the given patterns

📄️ SUBSCRIBE Listen for messages published to the given channels

📄️ UNSUBSCRIBE Stop listening for messages posted to the given channels

📄️ XADD Appends a new entry to a stream

📄️ XDEL Removes the specified entries from the stream. Returns the number of items actually deleted, that may be different from the number of IDs passed in case certain IDs do not exist.

📄️ XLEN Return the number of entries in a stream

📄️ XRANGE Return a range of elements in a stream, with IDs matching the specified IDs interval

📄️ XREVRANGE Return a range of elements in a stream, with IDs matching the specified IDs interval, in reverse order (from greater to smaller IDs) compared to XRANGE

📄️ XSETID An internal command for replicating stream values