# LibTmux.Server.OpenWaitChannel

- **Module:** LibTmux.Server
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/320dc64f4b8b7815842471327a5e6b84a1499bf8/src/LibTmux/Server.Execution.cs#L205
- **Page:** https://libtmux.org/en/dotnet/latest/reference/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.
