SUNSUBSCRIBE

Since 1.1.0Pub/Sub

Syntax

SUNSUBSCRIBE [shardchannel ...]
  • Flags: pubsub
  • ACL categories: @pubsub, @slow
  • Arity: -1

Unsubscribes this connection from shard channels, or from all of them if none is given.

Reply

  • For each shard channel, an acknowledgement: sunsubscribe, the channel, and how many shard subscriptions are left.

Examples

> SUNSUBSCRIBE
1) "sunsubscribe"
2) "orders"
3) (integer) 0