@valkey/client
Version:
The source code and documentation for this package are in the main [node-redis](https://github.com/redis/node-redis) repo.
13 lines (12 loc) • 367 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', 'CHANNELS'];
if (pattern) {
args.push(pattern);
}
return args;
}
exports.transformArguments = transformArguments;
;