packages/client/lib/commands/XGROUP_DELCONSUMER.ts
import { CommandParser } from '../client/parser';
import { RedisArgument, NumberReply, Command } from '../RESP/types';
export default {
IS_READ_ONLY: false,
parseCommand(
parser: CommandParser,
key: RedisArgument,
group: RedisArgument,
consumer: RedisArgument
) {
parser.push('XGROUP', 'DELCONSUMER');
parser.pushKey(key);
parser.push(group, consumer);
},
transformReply: undefined as unknown as () => NumberReply
} as const satisfies Command;