summaryrefslogtreecommitdiffstats
path: root/src/commands/function-kill.json
blob: 396370c387015b38ffeee65b44fa4e393866414c (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
{
    "KILL": {
        "summary": "Terminates a function during execution.",
        "complexity": "O(1)",
        "group": "scripting",
        "since": "7.0.0",
        "arity": 2,
        "container": "FUNCTION",
        "function": "functionKillCommand",
        "command_flags": [
            "NOSCRIPT",
            "ALLOW_BUSY"
        ],
        "acl_categories": [
            "SCRIPTING"
        ],
        "command_tips": [
            "REQUEST_POLICY:ALL_SHARDS",
            "RESPONSE_POLICY:ONE_SUCCEEDED"
        ],
        "reply_schema": {
            "const": "OK"
        }
    }
}