Liferay.Loader.define("frontend-js-spa-web@5.0.36/cacheable/Cacheable",["module","exports","require","frontend-js-web"],(function(e,a,c){window;{Object.defineProperty(a,"__esModule",{value:!0}),a.default=void 0;var h=c("frontend-js-web");class Cacheable extends h.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 t=Cacheable;a.default=t}}));
//# sourceMappingURL=Cacheable.js.map