import type { CommandOptions } from "./command"; import { Command } from "./command"; /** * @see https://redis.io/commands/psetex */ export class PSetEXCommand extends Command { constructor( cmd: [key: string, ttl: number, value: TData], opts?: CommandOptions ) { super(["psetex", ...cmd], opts); } }