c8osdkjscore
Version:
convertigo's sdk js core
19 lines • 717 B
JavaScript
;
Object.defineProperty(exports, "__esModule", { value: true });
var c8oException_1 = require("./Exception/c8oException");
var C8oLocalCache = (function () {
function C8oLocalCache(priority, ttl, enabled) {
if (ttl === void 0) { ttl = -1; }
if (enabled === void 0) { enabled = true; }
if (priority == null) {
throw new c8oException_1.C8oException("Local Cache priority cannot be null");
}
this.priority = priority;
this.ttl = ttl;
this.enabled = enabled;
}
C8oLocalCache.PARAM = "__localCache";
return C8oLocalCache;
}());
exports.C8oLocalCache = C8oLocalCache;
//# sourceMappingURL=c8oLocalCache.js.map