summaryrefslogtreecommitdiffstats
path: root/src/commands/subscribe.json
blob: bdf12b7267834d5a011920f11ea78c128da5d142 (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
{
    "SUBSCRIBE": {
        "summary": "Listens for messages published to channels.",
        "complexity": "O(N) where N is the number of channels to subscribe to.",
        "group": "pubsub",
        "since": "2.0.0",
        "arity": -2,
        "function": "subscribeCommand",
        "history": [],
        "command_flags": [
            "PUBSUB",
            "NOSCRIPT",
            "LOADING",
            "STALE",
            "SENTINEL"
        ],
        "arguments": [
            {
                "name": "channel",
                "type": "string",
                "multiple": true
            }
        ]
    }
}