()
| 1599 | |
| 1600 | getConfig(): DB { |
| 1601 | return { ...this.currentConfig }; |
| 1602 | } |
| 1603 | |
| 1604 | async updateConfig(updater: (config: DB) => void): Promise<void> { |
| 1605 | this.writeQueue = this.writeQueue.then(async () => { |
| 1606 | const oldSnapshot: DB = JSON.parse(JSON.stringify(this.currentConfig)); |
no outgoing calls
no test coverage detected