You've already forked node-redis
mirror of
https://github.com/redis/node-redis.git
synced 2025-08-04 15:02:09 +03:00
14 lines
396 B
TypeScript
14 lines
396 B
TypeScript
import { RedisCommandArgument, RedisCommandArguments } from '.';
|
|
|
|
export const IS_READ_ONLY = true;
|
|
|
|
export function transformArguments(
|
|
pattern?: RedisCommandArgument
|
|
): RedisCommandArguments {
|
|
const args: RedisCommandArguments = ['PUBSUB', 'SHARDCHANNELS'];
|
|
if (pattern) args.push(pattern);
|
|
return args;
|
|
}
|
|
|
|
export declare function transformReply(): Array<RedisCommandArgument>;
|