On this page
LibTmux.TmuxHooks.GetAsync
- Module
- LibTmux
- Declared in
- TmuxHooks
- Package
- LibTmux
- Source
- src/LibTmux/Hooks/TmuxHooks.cs
- GetAsync ( request : HookRequest , cancellationToken : CancellationToken ) Task<TmuxHook?>
-
Reads one hook.
- Parameters
-
-
request ( HookRequest ) – Which hook to read.
-
cancellationToken ( CancellationToken ) – Cancels the tmux command.
-
- Returns
-
The hook, or null when nothing is set for that name.
- Raises
-
-
TmuxOptionException – tmux rejected the hook name.
-
0 declared, 0 inherited