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

Method addCommand

packages/client/lib/multi-command.ts:36–41  ·  view source on GitHub ↗
(args: CommandArguments, transformReply?: TransformReply)

Source from the content-addressed store, hash-verified

34 readonly scriptsInUse = new Set<string>();
35
36 addCommand(args: CommandArguments, transformReply?: TransformReply) {
37 this.queue.push({
38 args,
39 transformReply
40 });
41 }
42
43 addScript(script: RedisScript, args: CommandArguments, transformReply?: TransformReply) {
44 const redisArgs: CommandArguments = [];

Callers 3

addScriptMethod · 0.95

Calls 1

pushMethod · 0.45

Tested by

no test coverage detected