-first commit

This commit is contained in:
2025-11-11 12:36:06 +07:00
commit b99c214434
5683 changed files with 713336 additions and 0 deletions

View File

@@ -0,0 +1,22 @@
import { CommandParser } from '../client/parser';
import { SimpleStringReply } from '../RESP/types';
interface FailoverOptions {
TO?: {
host: string;
port: number;
FORCE?: true;
};
ABORT?: true;
TIMEOUT?: number;
}
declare const _default: {
/**
* Starts a coordinated failover between the primary and a replica
* @param parser - The Redis command parser
* @param options - Failover options including target host, abort flag, and timeout
*/
readonly parseCommand: (this: void, parser: CommandParser, options?: FailoverOptions) => void;
readonly transformReply: () => SimpleStringReply;
};
export default _default;
//# sourceMappingURL=FAILOVER.d.ts.map