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

Function parseCommand

packages/client/lib/commands/BRPOPLPUSH.ts:6–10  ·  view source on GitHub ↗
(parser: CommandParser, source: RedisArgument, destination: RedisArgument, timeout: number)

Source from the content-addressed store, hash-verified

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

Callers

nothing calls this directly

Calls 3

pushKeysMethod · 0.80
toStringMethod · 0.65
pushMethod · 0.45

Tested by

no test coverage detected