# mcp.exec.WaitOutcome

- **Module:** mcp.exec
- **Package:** tmux-mcp
- **Language:** Rust
- **Kind:** enum
- **Source:** https://github.com/libtmux/libtmux-rs/blob/f0e37052c232636b61d095817046e6bfc8f2ca40/crates/tmux-mcp/src/exec.rs#L88
- **Page:** https://libtmux.org/en/rs/latest/mcp/reference/mcp-exec-waitoutcome/

How a wait for text finished.

## Members

- `PresentAtEntry` (constant): A wanted pattern was already in the pane's output before this began watching, on a row above the one still being typed into, and is not a line this server itself submitted moments earlier.
- `Pending` (constant): A wanted pattern's only occurrence is the row still being typed into: text this server (or a person sharing the pane) sent and has not submitted, not anything that has run.
- `Matched` (constant): A pattern matched, in output that arrived after the wait attached.
- `Stopped` (constant): A stop pattern matched, so the wait ended early.
- `Deadline` (constant): The time the caller allowed ran out.
- `PaneClosed` (constant): The pane stopped writing for good.
- `Cancelled` (constant): The client withdrew the request while the wait was still running.
