Files
micro-service-api/node_modules/@redis/client/dist/lib/commands/BGSAVE.d.ts

19 lines
730 B
TypeScript
Raw Normal View History

2025-11-11 12:36:06 +07:00
import { CommandParser } from '../client/parser';
import { SimpleStringReply } from '../RESP/types';
export interface BgSaveOptions {
SCHEDULE?: boolean;
}
declare const _default: {
readonly NOT_KEYED_COMMAND: true;
readonly IS_READ_ONLY: true;
/**
* Asynchronously saves the dataset to disk
* @param parser - The Redis command parser
* @param options - Optional configuration
* @param options.SCHEDULE - Schedule a BGSAVE operation when no BGSAVE is already in progress
*/
readonly parseCommand: (this: void, parser: CommandParser, options?: BgSaveOptions) => void;
readonly transformReply: () => SimpleStringReply;
};
export default _default;
//# sourceMappingURL=BGSAVE.d.ts.map