Scripts
SCRIPT FLUSH
Removes all scripts from the script cache.
Arguments
optionsbodyObject
asyncbodyboolean
Performs the flush asynchronously.
syncbodyboolean
Performs the flush synchronously.
Example
await redis.scriptFlush();With options
await redis.scriptFlush({ async: true,});