Line

ui/client/features/dev-server/services/DevServerPolling

Timers are external effects (SERVICE-001): the dev server status loop lives here, not in its hook.

Cockpit client (features), v0.9. Source: ui/client/features/dev-server/services/DevServerPolling.ts.

Functions#

watchDevServerStatus()#

watchDevServerStatus(refresh, intervalMs): () => void

Defined in: ui/client/features/dev-server/services/DevServerPolling.ts:3

Timers are external effects (SERVICE-001): the dev server status loop lives here, not in its hook. Refresh once now, then every intervalMs; the returned function stops it.

Parameters#

refresh

() => unknown

intervalMs

number

Returns#

() => void