# LibTmux.TmuxWaitChannel.WaitAsync

- **Module:** LibTmux.TmuxWaitChannel
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/6656a563ec9e07ab52e0c3ac96f7704fc94cc0c0/src/LibTmux/Waiting/TmuxWaitChannel.cs#L61
- **Page:** https://libtmux.org/reference/dotnet/libtmux-tmuxwaitchannel-waitasync/

```
LibTmux.TmuxWaitChannel.WaitAsync(budget: TimeSpan, cancellationToken: CancellationToken) -> Task<bool>
```

Waits for the signal, giving this attempt a budget.

## Parameters

- `budget` (TimeSpan) — How long this attempt may take.
- `cancellationToken` (CancellationToken) — Abandons this attempt, not the waiter.

## Returns

True when the channel was signalled, false when the budget ran out.
