File tree Expand file tree Collapse file tree 1 file changed +0
-28
lines changed
Expand file tree Collapse file tree 1 file changed +0
-28
lines changed Original file line number Diff line number Diff line change @@ -160,34 +160,6 @@ export class RedisClient {
160160 return this . #connection;
161161 }
162162
163- public async sendOnce < TResult > (
164- command : RedisCommand < TResult > ,
165- ) : Promise < TResult > ;
166-
167- public async sendOnce < const TResults extends any [ ] > ( commands : {
168- [ I in keyof TResults ] : RedisCommand < TResults [ I ] > ;
169- } ) : Promise < TResults > ;
170-
171- public async sendOnce ( command : RedisCommand | RedisCommand [ ] ) {
172- try {
173- return await this . send ( command ) ;
174- } finally {
175- await this . close ( ) ;
176- }
177- }
178-
179- public async sendOnceRaw ( command : RedisCommand ) : Promise < RedisResponse > ;
180-
181- public async sendOnceRaw ( commands : RedisCommand [ ] ) : Promise < RedisResponse [ ] > ;
182-
183- public async sendOnceRaw ( command : RedisCommand | RedisCommand [ ] ) {
184- try {
185- return await this . sendRaw ( command ) ;
186- } finally {
187- await this . close ( ) ;
188- }
189- }
190-
191163 public async send < TResult > ( command : RedisCommand < TResult > ) : Promise < TResult > ;
192164
193165 public async send < const TResults extends any [ ] > ( commands : {
You can’t perform that action at this time.
0 commit comments