@valkey/client
Version:
The source code and documentation for this package are in the main [node-redis](https://github.com/redis/node-redis) repo.
12 lines (11 loc) • 364 B
JavaScript
Object.defineProperty(exports, "__esModule", { value: true });
exports.transformArguments = exports.IS_READ_ONLY = void 0;
exports.IS_READ_ONLY = true;
function transformArguments(pattern) {
const args = ["PUBSUB", "SHARDCHANNELS"];
if (pattern)
args.push(pattern);
return args;
}
exports.transformArguments = transformArguments;
;