kevy4.0

SUBSCRIBE

Subscribe to the given channels.

SUBSCRIBE channel [channel ...]
Group
Pub/Sub
Since
1.0.0
Arity
at least 2
Flags
readonly pubsub

Complexity

O(c) channels; never fans out to other shards

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

Redis compatibility

Differs

kevy has no RESP2 subscriber mode — after SUBSCRIBE the connection may still issue any command, where Redis restricts it to the pubsub verbs plus PING / QUIT / RESET

See also

PSUBSCRIBEPUBLISHPUNSUBSCRIBEUNSUBSCRIBE

← All commands