Available since: 7.0.0

Time complexity: O(1)

ACL categories: @slow @scripting

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 Redis Functions.


Simple string reply