FUNCTION KILL

Syntax
FUNCTION KILL
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.

RESP2/RESP3 Reply

Simple string reply: OK.
Rate this page