# LibTmux.PaneObservation

- **Module:** LibTmux
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** class
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/320dc64f4b8b7815842471327a5e6b84a1499bf8/src/LibTmux/ControlMode/PaneObservation.cs#L26
- **Page:** https://libtmux.org/en/dotnet/latest/reference/libtmux-paneobservation/

Narrows a control client's event stream to one pane, and ends it cleanly.

A killed pane's session and window usually survive it, so the general
event stream just keeps running - the closest thing tmux sends is a
<c>%layout-change</c> for the window the pane left. Watching a pane
through this instead answers "is the pane I care about still there" as a
typed, terminal event rather than leaving a caller to infer it from a
notification shaped like any other.

## Members

- `WatchAsync` (method): Watches one pane's output until it ends.
