summaryrefslogtreecommitdiffstats
path: root/src/commands/punsubscribe.json
blob: cb977d8ca9f0552181b31f94f0370ef0e0582a71 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
{
    "PUNSUBSCRIBE": {
        "summary": "Stops listening to messages published to channels that match one or more patterns.",
        "complexity": "O(N) where N is the number of patterns to unsubscribe.",
        "group": "pubsub",
        "since": "2.0.0",
        "arity": -1,
        "function": "punsubscribeCommand",
        "command_flags": [
            "PUBSUB",
            "NOSCRIPT",
            "LOADING",
            "STALE",
            "SENTINEL"
        ],
        "arguments": [
            {
                "name": "pattern",
                "type": "pattern",
                "optional": true,
                "multiple": true
            }
        ]
    }
}