@biorate/rdkafka
Version:
Rdkafka connector
12 lines • 357 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.timeDiff = void 0;
const timeDiff = () => {
const startTime = process.hrtime();
return () => {
const diff = process.hrtime(startTime);
return diff[0] * 1e3 + diff[1] * 1e-6;
};
};
exports.timeDiff = timeDiff;
//# sourceMappingURL=helpers.js.map