TmuxOptions.GetAsync
Reads one option.
Source and package
- Qualified name
-
LibTmux .Tmux Options. Get Async - Namespace
- LibTmux
- Declared in
TmuxOptions- Package
- LibTmux
- Source
- src/LibTmux/Options/TmuxOptions.cs
- async Task<IRead
Only <TmuxList Option >> GetAsync( GetOption request, CancellationRequest Token cancellationToken = default )async Task<T> GetAsync<T>( TmuxOption <T> key, CancellationKey Token cancellationToken = default ) -
Description
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.
- Type parameters
-
-
TforGetAsync(key, cancellationToken)Constraint notnull
What the value reads as.
-
- Parameters
-
-
request(GetOption ) – Which option to read, and how. forRequest GetAsync(request, cancellationToken) -
cancellationToken(CancellationToken ) – Cancels the tmux command.Default
default -
key(TmuxOption <T>) – The option and how to read it. forKey GetAsync(key, cancellationToken)
-
- Returns
-
Every entry tmux reported for the name: one for an ordinary option, and one per set index for an array. for
GetAsync(request, cancellationToken)The value tmux applies here, set in this scope or inherited from a parent. for
GetAsync(key, cancellationToken) - Errors
-
-
Tmux
Option – tmux rejected the option name. forException GetAsync(request, cancellationToken) -
Tmux
Option – tmux rejected the name, reported no value, or reported one the key cannot read. forException GetAsync(key, cancellationToken)
-
Recorded calls
source callsThe C# reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls LibTmux.TmuxOptions.GetAsync.
tmux command
task materialThe tmux commands behind GetAsync.
tmux C API
task materialThe C declarations in tmux that implement these commands.
tmux options
task materialSettings for the server, sessions, windows and panes, with their types, defaults and allowed values.
Guides
task materialPages that discuss GetAsync.