summaryrefslogtreecommitdiffstats
path: root/src/commands/pubsub-numpat.json
blob: ae653b74f6314dad672072dbc9d6d25a6f7ac77c (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
{
    "NUMPAT": {
        "summary": "Returns a count of unique pattern subscriptions.",
        "complexity": "O(1)",
        "group": "pubsub",
        "since": "2.8.0",
        "arity": 2,
        "container": "PUBSUB",
        "function": "pubsubCommand",
        "command_flags": [
            "PUBSUB",
            "LOADING",
            "STALE"
        ],
        "reply_schema": {
            "description": "the number of patterns all the clients are subscribed to",
            "type": "integer",
            "minimum": 0
        }
    }
}