TmuxOptions.SetAsync
Sets an option in this scope from a value of its key's type.
Source and package
- Qualified name
-
LibTmux .Tmux Options. Set Async - Namespace
- LibTmux
- Declared in
TmuxOptions- Package
- LibTmux
- Source
- src/LibTmux/Options/TmuxOptions.cs
- Task SetAsync<T>( Tmux
Option <T> key, T value, CancellationKey Token cancellationToken = default )Task<TmuxOption > SetAsync( SetValue Option request, CancellationRequest Token cancellationToken = default ) -
- Type parameters
-
-
TforSetAsync(key, value, cancellationToken)Constraint notnull
What the value reads as.
-
- Parameters
-
-
key(TmuxOption <T>) – The option and how to write it. forKey SetAsync(key, value, cancellationToken) -
value(T) – The value to set. forSetAsync(key, value, cancellationToken) -
cancellationToken(CancellationToken ) – Cancels the tmux command. forSetAsync(key, value, cancellationToken)Default
default -
request(SetOption ) – Which option to set, to what, and how. forRequest SetAsync(request, cancellationToken) -
cancellationToken(CancellationToken ) – Cancels the tmux commands. forSetAsync(request, cancellationToken)Default
default
-
- Returns
-
A task that completes when tmux has set the option. for
SetAsync(key, value, cancellationToken)The value tmux holds afterwards. for
SetAsync(request, cancellationToken) - Errors
-
-
Tmux
Option – tmux rejected the name or the value. forException SetAsync(key, value, cancellationToken) -
Tmux
Option – tmux rejected the option or its value. forException SetAsync(request, 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.SetAsync.
tmux command
task materialThe tmux commands behind SetAsync.
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 SetAsync.