(key: string, value: string)
| 32 | }, |
| 33 | |
| 34 | localSetDual(key: string, value: string) { |
| 35 | // 如果禁用缓存,则不执行任何操作 |
| 36 | if (!config.useCache) return; |
| 37 | |
| 38 | this.localSet(value, key); |
| 39 | this.localSet(key, value); |
| 40 | }, |
| 41 | |
| 42 | localGet(origin: string) { |
| 43 | // 如果禁用缓存,则始终返回 null |
nothing calls this directly
no outgoing calls
no test coverage detected