MCPcopy
hub / github.com/coder/mux / schedule

Method schedule

src/browser/utils/RefreshController.ts:171–173  ·  view source on GitHub ↗

* Schedule a rate-limited refresh with trailing debounce. * * Behavior (rate-limit + trailing debounce): * - First call starts timer for delayMs * - Subsequent calls mark "pending" but don't reset timer (rate-limit) * - When timer fires, refresh runs * - If calls came in during ref

()

Source from the content-addressed store, hash-verified

169 * - This captures final state after activity stops, while rate-limiting during constant activity
170 */
171 schedule(): void {
172 this.scheduleWithDelay(this.debounceMs, "scheduled");
173 }
174
175 /**
176 * Schedule with priority (shorter) rate limit. Used for active workspace.

Callers 3

ReviewPanelFunction · 0.95

Calls 1

scheduleWithDelayMethod · 0.95

Tested by

no test coverage detected