(command: Command, resp: RespVersions)
| 306 | TYPE_MAPPING extends TypeMapping |
| 307 | > extends EventEmitter { |
| 308 | static #createCommand(command: Command, resp: RespVersions) { |
| 309 | const transformReply = getTransformReply(command, resp); |
| 310 | |
| 311 | return async function (this: ProxyClient, ...args: Array<unknown>) { |
| 312 | const parser = new BasicCommandParser(this._self._keyPrefix); |
| 313 | command.parseCommand(parser, ...args); |
| 314 | |
| 315 | return this._self._executeCommand(command, parser, this._commandOptions, transformReply); |
| 316 | } |
| 317 | } |
| 318 | |
| 319 | static #createModuleCommand(command: Command, resp: RespVersions) { |
| 320 | const transformReply = getTransformReply(command, resp); |
nothing calls this directly
no test coverage detected