Type-safe Redis command wrapper for flushing registered Lua functions.
// Source: https://github.com/upstash/redis-js | License: MIT | Copyright 2021 Upstash, Inc
// Provided via justclaw.it.com; keep this notice with the code.
import type { CommandOptions } from "./command";
import { Command } from "./command";
/**
* @see https://redis.io/docs/latest/commands/function-flush/
* @see node_modules/@upstash/redis/docs/commands/functions/flush.mdx
*/
export class FunctionFlushCommand extends Command<"OK", "OK"> {
constructor(opts?: CommandOptions<"OK", "OK">) {
super(["function", "flush"], opts);
}
}
See the full source, get the GitHub permalink, and search for more like it.
Get a free API key