1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-06 02:15:48 +03:00
Files
node-redis/packages/client/lib/commands/XGROUP_DESTROY.ts
2023-06-28 11:40:55 -04:00

14 lines
350 B
TypeScript

import { RedisArgument, NumberReply, Command } from '../RESP/types';
export default {
FIRST_KEY_INDEX: 2,
IS_READ_ONLY: false,
transformArguments(
key: RedisArgument,
group: RedisArgument
) {
return ['XGROUP', 'DESTROY', key, group];
},
transformReply: undefined as unknown as () => NumberReply
} as const satisfies Command;