16 lines
728 B
TypeScript
16 lines
728 B
TypeScript
import { CommandParser } from '../client/parser';
|
|
import { SimpleStringReply } from '../RESP/types';
|
|
import { SlotRange } from './generic-transformers';
|
|
declare const _default: {
|
|
readonly NOT_KEYED_COMMAND: true;
|
|
readonly IS_READ_ONLY: true;
|
|
/**
|
|
* Assigns hash slot ranges to the current node in a Redis Cluster
|
|
* @param parser - The Redis command parser
|
|
* @param ranges - One or more slot ranges to be assigned, each specified as [start, end]
|
|
*/
|
|
readonly parseCommand: (this: void, parser: CommandParser, ranges: SlotRange | Array<SlotRange>) => void;
|
|
readonly transformReply: () => SimpleStringReply<'OK'>;
|
|
};
|
|
export default _default;
|
|
//# sourceMappingURL=CLUSTER_ADDSLOTSRANGE.d.ts.map
|