@configurator/ravendb
Version:
RavenDB client for Node.js
16 lines • 558 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ResponseTimeInformation = void 0;
class ResponseTimeInformation {
computeServerTotal() {
this.totalServerDuration =
this.durationBreakdown.reduce((result, next) => result + next.duration, 0);
}
constructor() {
this.totalServerDuration = 0;
this.totalClientDuration = 0;
this.durationBreakdown = [];
}
}
exports.ResponseTimeInformation = ResponseTimeInformation;
//# sourceMappingURL=ResponseTimeInformation.js.map