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

Function parseCommand

packages/client/lib/commands/BLMPOP.ts:7–10  ·  view source on GitHub ↗
(parser: CommandParser, timeout: number, ...args: LMPopArguments)

Source from the content-addressed store, hash-verified

5export default {
6 IS_READ_ONLY: false,
7 parseCommand(parser: CommandParser, timeout: number, ...args: LMPopArguments) {
8 parser.push('BLMPOP', timeout.toString());
9 parseLMPopArguments(parser, ...args);
10 },
11 transformReply: LMPOP.transformReply
12} as const satisfies Command;

Callers

nothing calls this directly

Calls 3

parseLMPopArgumentsFunction · 0.90
toStringMethod · 0.65
pushMethod · 0.45

Tested by

no test coverage detected