packages/client/lib/commands/ZDIFF.ts
import { CommandParser } from '../client/parser';
import { ArrayReply, BlobStringReply, Command } from '../RESP/types';
import { RedisVariadicArgument } from './generic-transformers';
export default {
IS_READ_ONLY: true,
parseCommand(parser: CommandParser, keys: RedisVariadicArgument) {
parser.push('ZDIFF');
parser.pushKeysLength(keys);
},
transformReply: undefined as unknown as () => ArrayReply<BlobStringReply>
} as const satisfies Command;