Files
micro-service-api/node_modules/@redis/client/dist/lib/commands/TIME.js

18 lines
538 B
JavaScript
Raw Normal View History

2025-11-11 12:36:06 +07:00
"use strict";
Object.defineProperty(exports, "__esModule", { value: true });
exports.default = {
NOT_KEYED_COMMAND: true,
IS_READ_ONLY: true,
/**
* Constructs the TIME command to return the server's current time
*
* @param parser - The command parser
* @returns Array containing the Unix timestamp in seconds and microseconds
* @see https://redis.io/commands/time/
*/
parseCommand(parser) {
parser.push('TIME');
},
transformReply: undefined
};
//# sourceMappingURL=TIME.js.map