(key: string, value: any)
| 110 | await this.db.write(); |
| 111 | } |
| 112 | |
| 113 | // Generic helpers for root properties |
| 114 | async getData(): Promise<CacheData | null> { |
| 115 | await this.initPromise; |
| 116 | return this.db?.data || null; |
| 117 | } |
| 118 | |
| 119 | async saveData(data: Partial<CacheData>): Promise<void> { |
| 120 | await this.initPromise; |
no test coverage detected