English | 简体中文 | 繁體中文 | Русский язык | Français | Español | Português | Deutsch | 日本語 | 한국어 | Italiano | بالعربية
The Redis Punsubscribe command is used to unsubscribe from all given channels with specified patterns.
Basic Syntax of redis Punsubscribe Command
redis 127.0.0.1:6379> PUNSUBSCRIBE [pattern [pattern ...]]
>= 2.0.0
This command behaves differently in different clients.
redis 127.0.0.1:6379> PUNSUBSCRIBE mychannel 1) "punsubscribe" 2) "a" 3) (integer) 1