(key: string, value: any)
| 137 | if (!this.db) return; |
| 138 | this.db.data.cache[key] = value; |
| 139 | await this.db.write(); |
| 140 | } |
| 141 | |
| 142 | async clear(): Promise<void> { |
| 143 | await this.initPromise; |
| 144 | if (!this.db) return; |
| 145 | this.db.data.cache = {}; |
| 146 | await this.db.write(); |
| 147 | } |
no test coverage detected