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

Method exec

packages/client/lib/client/multi-command.ts:232–238  ·  view source on GitHub ↗
(execAsPipeline = false)

Source from the content-addressed store, hash-verified

230 }
231
232 async exec<T extends MultiReply = MULTI_REPLY['GENERIC']>(execAsPipeline = false): Promise<MultiReplyType<T, REPLIES>> {
233 if (execAsPipeline) return this.execAsPipeline<T>();
234
235 return this.#multi.transformReplies(
236 await this.#executeMulti(this.#multi.queue, this.#selectedDB)
237 ) as MultiReplyType<T, REPLIES>;
238 }
239
240 EXEC = this.exec;
241

Callers 1

execTypedMethod · 0.95

Calls 2

execAsPipelineMethod · 0.95
transformRepliesMethod · 0.80

Tested by

no test coverage detected