# LibTmux.TmuxOptions.GetAllAsync

- **Module:** LibTmux.TmuxOptions
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/6656a563ec9e07ab52e0c3ac96f7704fc94cc0c0/src/LibTmux/Options/TmuxOptions.cs#L98
- **Page:** https://libtmux.org/reference/dotnet/libtmux-tmuxoptions-getallasync/

```
LibTmux.TmuxOptions.GetAllAsync(request: GetOptionsRequest?, cancellationToken: CancellationToken) -> Task<IReadOnlyList<TmuxOption>>
```

Reads every option in the scope.

## Parameters

- `request` (GetOptionsRequest?) — How to read them, or null for the plain reading.
- `cancellationToken` (CancellationToken) — Cancels the tmux command.

## Returns

Every option tmux reported, in the order it reported them.

## Raises

- `TmuxOptionException` — tmux rejected the request.
