(key: string)
| 131 | if (!this.db) return null; |
| 132 | return this.db.data.cache[key] || null; |
| 133 | } |
| 134 | |
| 135 | async set(key: string, value: any): Promise<void> { |
| 136 | await this.initPromise; |
| 137 | if (!this.db) return; |
| 138 | this.db.data.cache[key] = value; |
| 139 | await this.db.write(); |
| 140 | } |
no outgoing calls
no test coverage detected