MCPcopy Create free account
hub / github.com/Tron521/codex-console-temp / startBindTaskAutoRefresh

Function startBindTaskAutoRefresh

static/js/payment.js:1172–1180  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

1170}
1171
1172function startBindTaskAutoRefresh() {
1173 stopBindTaskAutoRefresh();
1174 bindTaskAutoRefreshTimer = setInterval(() => {
1175 if (document.hidden) return;
1176 const bindTaskTab = document.getElementById("tab-content-bind-task");
1177 if (!bindTaskTab?.classList.contains("active")) return;
1178 loadBindCardTasks(true);
1179 }, 20000);
1180}
1181
1182function stopBindTaskAutoRefresh() {
1183 if (!bindTaskAutoRefreshTimer) return;

Callers 1

payment.jsFile · 0.85

Calls 2

stopBindTaskAutoRefreshFunction · 0.85
loadBindCardTasksFunction · 0.85

Tested by

no test coverage detected