()
| 420 | private static minRefreshRate = 200; // Seems to be the magic number |
| 421 | private static maxRefreshRate = 5000; |
| 422 | private setRefreshRate() { |
| 423 | const config = vscode.workspace.getConfiguration('cortex-debug', null); |
| 424 | let rate = config.get('liveWatchRefreshRate', LiveWatchTreeProvider.defaultRefreshRate); |
| 425 | rate = Math.max(rate, LiveWatchTreeProvider.minRefreshRate); |
| 426 | rate = Math.min(rate, LiveWatchTreeProvider.maxRefreshRate); |
| 427 | this.currentRefreshRate = rate; |
| 428 | } |
| 429 | |
| 430 | public saveState() { |
| 431 | const state = this.context.workspaceState; |
no outgoing calls
no test coverage detected