()
| 555 | |
| 556 | |
| 557 | MULTI<isTyped extends MultiMode = MULTI_MODE['TYPED']>() { |
| 558 | type Multi = new (...args: ConstructorParameters<typeof RedisClientMultiCommand>) => RedisClientMultiCommandType<isTyped, [], M, F, S, RESP, TYPE_MAPPING>; |
| 559 | // eslint-disable-next-line @typescript-eslint/no-explicit-any -- access to dynamic Multi class |
| 560 | return new ((this as any).Multi as Multi)( |
| 561 | (commands, selectedDB) => this.execute(client => client._executeMulti(commands, selectedDB)), |
| 562 | commands => this.execute(client => client._executePipeline(commands)), |
| 563 | this._commandOptions?.typeMapping, |
| 564 | this._self._keyPrefix |
| 565 | ); |
| 566 | } |
| 567 | |
| 568 | multi = this.MULTI; |
| 569 |
nothing calls this directly
no test coverage detected