# LibTmux.FSharp.PaneWait.|Found|Printed|Stopped|TimedOut|Ended|

- **Module:** LibTmux.FSharp
- **Package:** LibTmux.FSharp
- **Language:** F#
- **Kind:** function
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/cf34b255c896d19a97e7d7fabea58609c916012d/src/LibTmux.FSharp/Library.fsi#L98
- **Page:** https://libtmux.org/en/fsharp/latest/reference/libtmux-fsharp-panewait-found-printed-stopped-timedout-ended/

```
val |Found|Printed|Stopped|TimedOut|Ended|): result: PaneWaitResult -> Choice<unit, unit, string, unit, unit>
```

Tells how a wait ended, one case per kind of ending, so a match that leaves one out draws a warning.

<c>Found</c>: the text or a pattern appeared, before or during the wait.
<c>Printed</c>: a wait with no pattern saw the pane print something.
<c>Stopped</c>: a stop pattern matched, carried as its text.
<c>TimedOut</c>: the time allowed ran out.
<c>Ended</c>: the pane's program exited, or a full-screen program took over.

## Parameters

- `result` (`PaneWaitResult`)

## Raises

- [`System.ArgumentOutOfRangeException`](https://learn.microsoft.com/dotnet/api/system.argumentoutofrangeexception): The outcome is not one this facade knows.
