MCPcopy Create free account
hub / github.com/Tong89/smartNode / _startPolling

Function _startPolling

frontend/app.js:461–467  ·  view source on GitHub ↗

* 启动 2 秒轮询回退(在 SSE 不可用时使用)。

()

Source from the content-addressed store, hash-verified

459 * 启动 2 秒轮询回退(在 SSE 不可用时使用)。
460 */
461 _startPolling() {
462 if (this.refreshTimer) return; // 已在运行
463 this.refreshTimer = window.setInterval(() => {
464 this.refreshAll();
465 this.refreshRequestList();
466 }, 2000);
467 },
468
469 // ── 分页请求列表 ─────────────────────────────────────────────
470 async refreshRequestList() {

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected