TmuxHooks.SetAsync
Sets one hook entry.
Source and package
- Qualified name
-
LibTmux .Tmux Hooks. Set Async - Namespace
- LibTmux
- Declared in
TmuxHooks- Package
- LibTmux
- Source
- src/LibTmux/Hooks/TmuxHooks.cs
- async Task<Tmux
Hook > SetAsync( SetHook request, CancellationRequest Token cancellationToken = default )async Task<TmuxHook > SetAsync( SetHooks request, CancellationRequest Token cancellationToken = default ) -
- Parameters
-
-
request(SetHook ) – Which hook to set, to what, and how. forRequest SetAsync(request, cancellationToken) [overload 1] -
cancellationToken(CancellationToken ) – Cancels the tmux commands.Default
default -
request(SetHooks ) – Which hook to set, to what, and how. forRequest SetAsync(request, cancellationToken) [overload 2]
-
- Returns
-
The hook as tmux holds it afterwards.
- Errors
-
-
Tmux
Option – tmux rejected the hook or its command. forException SetAsync(request, cancellationToken) [overload 1] -
Tmux
Option – tmux rejected the hook or a command. forException SetAsync(request, cancellationToken) [overload 2]
-
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.TmuxHooks.SetAsync.
tmux command
task materialThe tmux commands behind SetAsync.
tmux C API
task materialThe C declarations in tmux that implement these commands.
tmux hooks
task materialEvents that run tmux commands, with the scope each hook belongs to and where tmux fires it.
Guides
task materialPages that discuss SetAsync.