MCPcopy Create free account
hub / github.com/xerrors/Yuxi / startAutoRefresh

Function startAutoRefresh

web/src/stores/database.js:480–486  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

478 }
479
480 function startAutoRefresh() {
481 if (state.autoRefresh && !refreshInterval) {
482 refreshInterval = setInterval(() => {
483 getDatabaseInfo(undefined, true, true) // Skip loading query params during auto-refresh
484 }, 1000)
485 }
486 }
487
488 function stopAutoRefresh() {
489 if (refreshInterval) {

Callers 2

enableAutoRefreshFunction · 0.85
toggleAutoRefreshFunction · 0.85

Calls 1

getDatabaseInfoFunction · 0.85

Tested by

no test coverage detected