MCPcopy Create free account
hub / github.com/su-kaka/gcli2api / startCooldownTimer

Function startCooldownTimer

front/common.js:3019–3027  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

3017// 冷却倒计时自动更新
3018// =====================================================================
3019function startCooldownTimer() {
3020 if (AppState.cooldownTimerInterval) {
3021 clearInterval(AppState.cooldownTimerInterval);
3022 }
3023
3024 AppState.cooldownTimerInterval = setInterval(() => {
3025 updateCooldownDisplays();
3026 }, 1000);
3027}
3028
3029function stopCooldownTimer() {
3030 if (AppState.cooldownTimerInterval) {

Callers 1

common.jsFile · 0.85

Calls 1

updateCooldownDisplaysFunction · 0.85

Tested by

no test coverage detected