Construct PSUBSCRIBE.
Available since Redis 2.0.0.
Official Redis command documentation.
Parameters (in order): first_pattern, other_patterns.
PubSub
:= { }
GENERATED FILE: do not edit directly; regenerate with scripts/command-catalog.roc generate.
Binary-safe Redis OSS 8.10.1 Pub/Sub command constructors.
Scalar wire arguments are List(U8). Required variadic arguments use
a first value plus a remaining list, so an empty required collection is
unrepresentable. Count prefixes are derived automatically. Parameters
beginning with options are deliberately raw token lists for grammars whose
combinations Redis validates; they are inserted verbatim and may be empty.
A { first, rest } record is a non-empty raw token sequence for a required
grammar choice; Redis validates the sequence when it executes the command.
Subscription-changing commands are encoding-only here. Execute.request! and
Execute.batch! cannot manage RESP2 subscription streams or unsolicited messages.
Construct PUBLISH.
Available since Redis 2.0.0.
Official Redis command documentation.
Parameters (in order): channel, message.
pubsub_channels : List(List(U8)) -> Command
Construct PUBSUB CHANNELS.
Available since Redis 2.8.0.
Official Redis command documentation.
Parameters (in order): options.
Parameters beginning with options are unvalidated wire arguments in the documented syntax position.
pubsub_numpat : () -> Command
Construct PUBSUB NUMPAT.
Available since Redis 2.8.0.
Official Redis command documentation.
pubsub_numsub : List(List(U8)) -> Command
Construct PUBSUB NUMSUB.
Available since Redis 2.8.0.
Official Redis command documentation.
Parameters (in order): channels.
pubsub_shardchannels : List(List(U8)) -> Command
Construct PUBSUB SHARDCHANNELS.
Available since Redis 7.0.0.
Official Redis command documentation.
Parameters (in order): options.
Parameters beginning with options are unvalidated wire arguments in the documented syntax position.
pubsub_shardnumsub : List(List(U8)) -> Command
Construct PUBSUB SHARDNUMSUB.
Available since Redis 7.0.0.
Official Redis command documentation.
Parameters (in order): shardchannels.
punsubscribe : List(List(U8)) -> Command
Construct PUNSUBSCRIBE.
Available since Redis 2.0.0.
Official Redis command documentation.
Parameters (in order): patterns.
Construct SPUBLISH.
Available since Redis 7.0.0.
Official Redis command documentation.
Parameters (in order): shardchannel, message.
Construct SSUBSCRIBE.
Available since Redis 7.0.0.
Official Redis command documentation.
Parameters (in order): first_shardchannel, other_shardchannels.
Construct SUBSCRIBE.
Available since Redis 2.0.0.
Official Redis command documentation.
Parameters (in order): first_channel, other_channels.
sunsubscribe : List(List(U8)) -> Command
Construct SUNSUBSCRIBE.
Available since Redis 7.0.0.
Official Redis command documentation.
Parameters (in order): shardchannels.
unsubscribe : List(List(U8)) -> Command
Construct UNSUBSCRIBE.
Available since Redis 2.0.0.
Official Redis command documentation.
Parameters (in order): channels.