(command: Command, resp: RespVersions)
| 127 | } |
| 128 | |
| 129 | static #createModuleCommand(command: Command, resp: RespVersions) { |
| 130 | const transformReply = getTransformReply(command, resp); |
| 131 | |
| 132 | return async function (this: NamespaceProxyPool, ...args: Array<unknown>) { |
| 133 | const parser = new BasicCommandParser(this._self._keyPrefix); |
| 134 | command.parseCommand(parser, ...args); |
| 135 | |
| 136 | return this._self.execute(client => client._executeCommand(command, parser, this._self._commandOptions, transformReply)) |
| 137 | }; |
| 138 | } |
| 139 | |
| 140 | static #createFunctionCommand(name: string, fn: RedisFunction, resp: RespVersions) { |
| 141 | const prefix = functionArgumentsPrefix(name, fn); |
nothing calls this directly
no test coverage detected