ui/client/features/plan/hooks/usePlanRun
Cockpit client (features), v0.8. Source: ui/client/features/plan/hooks/usePlanRun.tsx.
Functions#
usePlanRun()#
usePlanRun(
plan,dispatch,onStarted): () =>Promise<void>
Defined in: ui/client/features/plan/hooks/usePlanRun.tsx:8
Run plan: the server re-validates the plan itself and only then creates and starts the process.
Parameters#
plan
dispatch
Dispatch<ScreenAction>
onStarted
() => void
Returns#
() => Promise<void>