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

16 lines
362 B
JavaScript

"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.transformArguments = void 0;
function transformArguments(timeout, mode) {
const args = [
'CLIENT',
'PAUSE',
timeout.toString()
];
if (mode) {
args.push(mode);
}
return args;
}
exports.transformArguments = transformArguments;