MCPcopy
hub / github.com/redis/node-redis / parseCommand

Function parseCommand

packages/client/lib/commands/RPOPLPUSH.ts:5–8  ·  view source on GitHub ↗
(parser: CommandParser, source: RedisArgument, destination: RedisArgument)

Source from the content-addressed store, hash-verified

3
4export default {
5 parseCommand(parser: CommandParser, source: RedisArgument, destination: RedisArgument) {
6 parser.push('RPOPLPUSH');
7 parser.pushKeys([source, destination]);
8 },
9 transformReply: undefined as unknown as () => BlobStringReply | NullReply
10} as const satisfies Command;

Callers

nothing calls this directly

Calls 2

pushKeysMethod · 0.80
pushMethod · 0.45

Tested by

no test coverage detected