UNPKG

@fast-china/axios

Version:

Fast Axios 请求工具库.

3 lines (2 loc) 463 B
"use strict";Object.defineProperty(exports,Symbol.toStringTag,{value:"Module"});exports.CacheManage=class{_handle;get;set;_cacheRecord=new Map;constructor(){this._handle={get:e=>this._cacheRecord.has(e)?this._cacheRecord.get(e):null,set:(e,t)=>{this._cacheRecord.set(e,t)}};const e=e=>this._handle.get(e);e.use=e=>{this._handle.get=e},this.get=e;const t=(e,t)=>{this._handle.set(e,t)};t.use=e=>{this._handle.set=e},this.set=t}}; //# sourceMappingURL=cache.js.map