# LibTmux.TmuxWaitChannel.WaitAsync

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