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

19 lines
802 B
TypeScript
Raw Normal View History

2025-11-11 12:36:06 +07:00
import { CommandParser } from '../client/parser';
import { NumberReply } from '../RESP/types';
declare const _default: {
readonly NOT_KEYED_COMMAND: true;
readonly IS_READ_ONLY: true;
/**
* Constructs the WAIT command to synchronize with replicas
*
* @param parser - The command parser
* @param numberOfReplicas - Number of replicas that must acknowledge the write
* @param timeout - Maximum time to wait in milliseconds
* @returns The number of replicas that acknowledged the write
* @see https://redis.io/commands/wait/
*/
readonly parseCommand: (this: void, parser: CommandParser, numberOfReplicas: number, timeout: number) => void;
readonly transformReply: () => NumberReply;
};
export default _default;
//# sourceMappingURL=WAIT.d.ts.map