19 lines
730 B
TypeScript
19 lines
730 B
TypeScript
|
|
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
|