# LibTmux.TmuxDispatchState

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** enum
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/6656a563ec9e07ab52e0c3ac96f7704fc94cc0c0/src/LibTmux/Exceptions/TmuxDispatchState.cs#L9
- **Page:** https://libtmux.org/reference/dotnet/libtmux-tmuxdispatchstate/

Says whether a failed command reached tmux, which is what decides if retrying is safe.

Retrying is safe only when the command never reached tmux.
<see cref="Unknown"/> is the default because assuming otherwise repeats
a side effect tmux already ran.

## Members

- `Unknown` (constant) — Whether tmux acted on the command cannot be determined. Treat a retry as capable of repeating whatever the command does.
- `NotDispatched` (constant) — 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.
- `Dispatched` (constant) — 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.
