Liferay.Loader.define("frontend-js-spa-web@5.0.32/cacheable/Cacheable",["module","exports","require","frontend-js-web"],(function(e,a,c){window;{Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var t=c("frontend-js-web");class e extends t.Disposable{constructor(){super(),this.cache=null,this.cacheable=!1}addCache(e){return this.cacheable&&(this.cache=e),this}clearCache(){return this.cache=null,this}disposeInternal(){this.clearCache()}getCache(){return this.cache}isCacheable(){return this.cacheable}setCacheable(e){e||this.clearCache(),this.cacheable=e}}var h=e;a.default=h}}));
//# sourceMappingURL=Cacheable.js.map