@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) • 332 B
JavaScript
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;
;