ravendb
Version:
RavenDB client for Node.js
19 lines • 631 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
exports.ResponseTimeInformation = void 0;
class ResponseTimeInformation {
totalServerDuration;
totalClientDuration;
durationBreakdown;
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