Files
micro-service-api/node_modules/@redis/client/dist/lib/commands/SETEX.d.ts
2025-11-11 12:36:06 +07:00

17 lines
671 B
TypeScript

import { CommandParser } from '../client/parser';
import { RedisArgument, SimpleStringReply } from '../RESP/types';
declare const _default: {
/**
* Constructs the SETEX command
*
* @param parser - The command parser
* @param key - The key to set
* @param seconds - The expiration time in seconds
* @param value - The value to set
* @see https://redis.io/commands/setex/
*/
readonly parseCommand: (this: void, parser: CommandParser, key: RedisArgument, seconds: number, value: RedisArgument) => void;
readonly transformReply: () => SimpleStringReply<'OK'>;
};
export default _default;
//# sourceMappingURL=SETEX.d.ts.map