TmuxHooks.GetAsync
Reads one hook.
Source and package
- Qualified name
-
LibTmux .Tmux Hooks. Get Async - Namespace
- LibTmux
- Declared in
TmuxHooks- Package
- LibTmux
- Source
- src/LibTmux/Hooks/TmuxHooks.cs
- async Task<Tmux
Hook ?> GetAsync( HookRequest request, CancellationToken cancellationToken = default ) -
- Parameters
-
-
request(HookRequest ) – Which hook to read. -
cancellationToken(CancellationToken ) – Cancels the tmux command.Default
default
-
- Returns
-
The hook, or null when nothing is set for that name.
- Errors
-
-
Tmux
Option – tmux rejected the hook name.Exception
-
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.GetAsync.
tmux command
task materialThe tmux commands behind GetAsync.
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.