# LibTmux.TmuxOptions.GetAllAsync

- **Module:** LibTmux.TmuxOptions
- **Package:** LibTmux
- **Language:** .NET
- **Kind:** method
- **Source:** https://github.com/libtmux/libtmux-dotnet/blob/320dc64f4b8b7815842471327a5e6b84a1499bf8/src/LibTmux/Options/TmuxOptions.cs#L111
- **Page:** https://libtmux.org/en/dotnet/latest/reference/libtmux-tmuxoptions-getallasync/

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

Reads every option in the scope.

Unescaping a doubled dollar sign needs the connected tmux's version, so
a table reached from a handle that has not found a live server yet
discovers one first.

## 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.
