Terminates a function during execution.
FUNCTION
KILL
Kill a function that is currently executing.
The FUNCTION KILL
command can be used only on functions
that did not modify the dataset during their execution (since stopping a
read-only function does not violate the scripting engine’s guaranteed
atomicity).
For more information please refer to Introduction to Valkey Functions.
Simple string
reply: OK
.
O(1)
@scripting @slow
EVAL, EVALSHA, EVALSHA_RO, EVAL_RO, FCALL, FCALL_RO, FUNCTION, FUNCTION DELETE, FUNCTION DUMP, FUNCTION FLUSH, FUNCTION HELP, FUNCTION LIST, FUNCTION LOAD, FUNCTION RESTORE, FUNCTION STATS, SCRIPT, SCRIPT DEBUG, SCRIPT EXISTS, SCRIPT FLUSH, SCRIPT HELP, SCRIPT KILL, SCRIPT LOAD, SCRIPT SHOW.