1
0
mirror of https://github.com/redis/node-redis.git synced 2025-08-06 02:15:48 +03:00

Add support for CLIENT NO-TOUCH (#2497)

This commit is contained in:
Codrin-Mihai Chira
2023-09-19 00:49:37 +03:00
committed by GitHub
parent fb255eb5d0
commit 4e610c2f8a
3 changed files with 44 additions and 0 deletions

View File

@@ -0,0 +1,11 @@
import { RedisCommandArguments } from '.';
export function transformArguments(value: boolean): RedisCommandArguments {
return [
'CLIENT',
'NO-TOUCH',
value ? 'ON' : 'OFF'
];
}
export declare function transformReply(): 'OK' | Buffer;