MCPcopy Index your code
hub / github.com/redis/node-redis / parseCommand

Function parseCommand

packages/client/lib/commands/ZMPOP.ts:36–44  ·  view source on GitHub ↗
(
    parser: CommandParser,
    keys: RedisVariadicArgument,
    side: SortedSetSide,
    options?: ZMPopOptions
  )

Source from the content-addressed store, hash-verified

34export default {
35 IS_READ_ONLY: false,
36 parseCommand(
37 parser: CommandParser,
38 keys: RedisVariadicArgument,
39 side: SortedSetSide,
40 options?: ZMPopOptions
41 ) {
42 parser.push('ZMPOP');
43 parseZMPopArguments(parser, keys, side, options)
44 },
45 transformReply: {
46 2(reply: UnwrapReply<Resp2Reply<ZMPopRawReply>>, preserve?: unknown, typeMapping?: TypeMapping) {
47 return reply === null ? null : {

Callers

nothing calls this directly

Calls 2

parseZMPopArgumentsFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected