(command: Command, resp: RespVersions)
| 116 | TYPE_MAPPING extends TypeMapping = {} |
| 117 | > extends EventEmitter { |
| 118 | static #createCommand(command: Command, resp: RespVersions) { |
| 119 | const transformReply = getTransformReply(command, resp); |
| 120 | |
| 121 | return async function (this: ProxyPool, ...args: Array<unknown>) { |
| 122 | const parser = new BasicCommandParser(this._self._keyPrefix); |
| 123 | command.parseCommand(parser, ...args); |
| 124 | |
| 125 | return this.execute(client => client._executeCommand(command, parser, this._commandOptions, transformReply)) |
| 126 | }; |
| 127 | } |
| 128 | |
| 129 | static #createModuleCommand(command: Command, resp: RespVersions) { |
| 130 | const transformReply = getTransformReply(command, resp); |
nothing calls this directly
no test coverage detected