Line

You are reading the unreleased docs (next). See latest (v0.9)

ui/client/features/requirement/services/ProofPolling

How often the screen asks whether the plan's files have reached the project, while the plan is approved and they have not.

Cockpit client (features), next. Source: ui/client/features/requirement/services/ProofPolling.ts.

Variables#

APPLIED_POLL_MS#

const APPLIED_POLL_MS: 2000 = 2000

Defined in: ui/client/features/requirement/services/ProofPolling.ts:2

How often the screen asks whether the plan's files have reached the project, while the plan is approved and they have not.

Functions#

watchPlanApplied()#

watchPlanApplied(check, intervalMs?): () => void

Defined in: ui/client/features/requirement/services/ProofPolling.ts:5

Timers are external effects (SERVICE-001): the loop lives here, not in its hook. Calls check every intervalMs; the returned function stops it.

Parameters#

check

() => unknown

intervalMs?

number = APPLIED_POLL_MS

Returns#

() => void