You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-07 13:22:56 +03:00
stream commands + some more
This commit is contained in:
@@ -11,3 +11,18 @@
|
||||
// }
|
||||
|
||||
// export declare function transformReply(): number;
|
||||
|
||||
import { RedisArgument, NumberReply, Command } from '../RESP/types';
|
||||
|
||||
export default {
|
||||
FIRST_KEY_INDEX: 2,
|
||||
IS_READ_ONLY: false,
|
||||
transformArguments(
|
||||
key: RedisArgument,
|
||||
group: RedisArgument,
|
||||
consumer: RedisArgument
|
||||
) {
|
||||
return ['XGROUP', 'DELCONSUMER', key, group, consumer];
|
||||
},
|
||||
transformReply: undefined as unknown as () => NumberReply
|
||||
} as const satisfies Command;
|
||||
|
Reference in New Issue
Block a user