Pub/sub

📄️ PSUBSCRIBEListen for messages published to channels matching the given patterns

📄️ PUBLISHPost a message to a channel

📄️ PUBSUB CHANNELSList active channels

📄️ PUBSUB HELPShow helpful text about the different subcommands

📄️ PUBSUB NUMPATGet the count of unique patterns pattern subscriptions

📄️ PUBSUB NUMSUBGet the count of subscribers for channels

📄️ PUBSUB SHARDCHANNELSList active shard channels

📄️ PUBSUB SHARDNUMSUBGet the count of subscribers for shard channels

📄️ PUBSUBA container for Pub/Sub commands

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

📄️ SUBSCRIBEListen for messages published to the given channels

📄️ UNSUBSCRIBEStop listening for messages posted to the given channels

📄️ XADDAppends a new entry to a stream

📄️ XDELRemoves 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.

📄️ XLENReturn the number of entries in a stream

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

📄️ XREVRANGEReturn 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

📄️ XSETIDAn internal command for replicating stream values