函数 KILL
Syntax
FUNCTION KILL
- Available since:
- 7.0.0
- Time complexity:
- O(1)
- ACL categories:
-
@slow
,@scripting
,
终止当前正在执行的函数。
FUNCTION KILL
命令只能用于在执行期间未修改数据集的函数(因为停止只读函数不会违反脚本引擎的原子性保证)。
更多信息请参考Introduction to Redis Functions。
RESP2/RESP3 回复
Simple string reply:OK
.