Skip to content

Commit

Permalink
add SPUBLISH and PUBLISH docs
Browse files Browse the repository at this point in the history
  • Loading branch information
vazois committed Jan 17, 2025
1 parent 74325aa commit 599a832
Showing 1 changed file with 37 additions and 0 deletions.
37 changes: 37 additions & 0 deletions libs/resources/RespCommandsDocs.json
Original file line number Diff line number Diff line change
Expand Up @@ -5853,6 +5853,27 @@
}
]
},
{
"Command": "SPUBLISH",
"Name": "SPUBLISH",
"Summary": "Posts a message to a shard channel.",
"Group": "PubSub",
"Complexity": "O(N) where N is the number of clients subscribed to the receiving shard channel.",
"Arguments": [
{
"TypeDiscriminator": "RespCommandBasicArgument",
"Name": "SHARDCHANNEL",
"DisplayText": "shardchannel",
"Type": "String"
},
{
"TypeDiscriminator": "RespCommandBasicArgument",
"Name": "MESSAGE",
"DisplayText": "message",
"Type": "String"
}
]
},
{
"Command": "STRLEN",
"Name": "STRLEN",
Expand Down Expand Up @@ -5885,6 +5906,22 @@
}
]
},
{
"Command": "SSUBSCRIBE",
"Name": "SSUBSCRIBE",
"Summary": "Listens for messages published to shard channels.",
"Group": "PubSub",
"Complexity": "O(N) where N is the number of shard channels to subscribe to.",
"Arguments": [
{
"TypeDiscriminator": "RespCommandBasicArgument",
"Name": "shardchannel",
"DisplayText": "channel",
"Type": "String",
"ArgumentFlags": "Multiple"
}
]
},
{
"Command": "SUBSTR",
"Name": "SUBSTR",
Expand Down

0 comments on commit 599a832

Please sign in to comment.