enum libtmux-dotnet
TmuxDispatchState
Says whether a failed command reached tmux, which is what decides if retrying is safe.
Source and package
- Qualified name
-
LibTmux. Tmux Dispatch State - Namespace
- LibTmux
- Package
- LibTmux
- Source
- src/LibTmux/Exceptions/TmuxDispatchState.cs
-
Description
Retrying is safe only when the command never reached tmux.
TmuxDispatchState.Unknownis the default because assuming otherwise repeats a side effect tmux already ran.
Members3 members
- Dispatched tmux ran the command and answered. The failure is tmux refusing or reporting an error, not the command going missing, so any side effect it had before failing has already happened.
- NotDispatched The command never reached tmux, so nothing was done and a retry repeats nothing. This is the only state in which retrying is unconditionally safe.
- Unknown Whether tmux acted on the command cannot be determined. Treat a retry as capable of repeating whatever the command does.
Guides
task materialPages that discuss TmuxDispatchState.