Plan.Run
Run sends the recorded operations through server and returns one result per step.
Source and package
- Qualified name
-
tmux.Plan. Run - Package
- tmux
- Declared in
Plan- Distribution
- github.com/libtmux/libtmux-go/tmux
- Source
- tmux/plan.go
- func (p *Plan) Run( ctx context
.Context , server Server, ) (PlanResult , error) -
Description#
Operations that need no answer travel together in one tmux command list;
Plan.Explainreports the grouping. Run stops at the first failed or indeterminate dispatch; later operations aretmux.OpSkipped.Tmux refusals appear in results. Transport, context, and
PlanErrorfailures are returned. Run is not atomic; completed mutations remain after failure.
Guides#
Pages that discuss Run.