kevy

SUBSCRIBE

Subscribe to the given channels.

语法SUBSCRIBE channel [channel ...]
分组pubsub
参数个数-2
起始版本1.0.0
标志readonly, pubsub
复杂度O(c) channels; never fans out to other shards
Redis 兼容性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

← 全部命令