Files
Star-wars-card-game/node_modules/@redis/client/dist/lib/commands/PUBSUB_CHANNELS.js
2026-01-28 00:55:06 +03:00

13 lines
367 B
JavaScript

"use strict";
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;