method libtmux-dotnet latest
TmuxHooks.GetAsync
Reads one hook.
Source and package
- Module
- LibTmux
- Declared in
- TmuxHooks
- Package
- LibTmux
- Source
- src/LibTmux/Hooks/TmuxHooks.cs
- GetAsync ( request : Hook
Request , cancellationToken : CancellationToken ) Task<TmuxHook ?> -
- Parameters
-
-
request ( Hook
Request ) – Which hook to read. -
cancellationToken ( Cancellation
Token ) – Cancels the tmux command.
-
- Returns
-
The hook, or null when nothing is set for that name.
- Raises
-
-
Tmux
Option – tmux rejected the hook name.Exception
-