Line

You are reading docs for v0.8. See latest (v0.9)

ui/client/features/review/hooks/useAnalysisCancel

Cockpit client (features), v0.8. Source: ui/client/features/review/hooks/useAnalysisCancel.tsx.

Functions#

useAnalysisCancel()#

useAnalysisCancel(base, head, plan, refresh): () => Promise<void>

Defined in: ui/client/features/review/hooks/useAnalysisCancel.tsx:7

Cancel the live analysis of one comparison (the machine's own CANCEL), then let the screen read its new state.

Parameters#

base

string

head

string

plan

string | null

refresh

() => void

Returns#

() => Promise<void>