# LibTmux.Server.OpenWaitChannel

- **Module:** LibTmux.Server
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/6656a563ec9e07ab52e0c3ac96f7704fc94cc0c0/src/LibTmux/Server.Execution.cs#L128
- **Page:** https://libtmux.org/reference/dotnet/libtmux-server-openwaitchannel/

```
LibTmux.Server.OpenWaitChannel(channel: string) -> TmuxWaitChannel
```

Opens a wait on a channel that survives a timed attempt.

Prefer this to <see cref="WaitForAsync" /> whenever the wait has a
deadline. Cancelling a waiting <c>wait-for</c> kills its client while
tmux keeps the registration, and that registration eats the next signal.

## Parameters

- `channel` (string) — The channel to wait on.

## Returns

The open wait, which must be disposed to withdraw it.
