* Apply current filters and refresh statistics with debouncing
()
| 965 | * Apply current filters and refresh statistics with debouncing |
| 966 | */ |
| 967 | private async applyFilters() { |
| 968 | this.savePersistedFilters(); |
| 969 | |
| 970 | if (this.debounceTimeout) { |
| 971 | window.clearTimeout(this.debounceTimeout); |
| 972 | } |
| 973 | |
| 974 | this.debounceTimeout = window.setTimeout(() => { |
| 975 | void (async () => { |
| 976 | await this.refreshStats(); |
| 977 | this.debounceTimeout = null; |
| 978 | })(); |
| 979 | }, 300); |
| 980 | } |
| 981 | |
| 982 | /** |
| 983 | * Check if stats cache is valid |
no test coverage detected