Session.GetWindowAsync
Reads one window in this session, throwing when it is absent.
Source and package
- Module
- LibTmux
- Declared in
- Session
- Package
- LibTmux
- Source
- src/LibTmux/Session.Relations.cs
- GetWindowAsync ( id : Window
Id , cancellationToken : CancellationToken ) Task<Window> ( target : string , cancellationToken : CancellationToken ) Task<Window> -
- Parameters
-
-
id ( Window
Id ) – The window identifier. (forGetWindowAsync(id, cancellationToken)) -
cancellationToken ( Cancellation
Token ) – Cancels the tmux command. -
target ( string ) – The window identifier or name. (for
GetWindowAsync(target, cancellationToken))
-
- Returns
-
The materialized window in this session.
- Raises
-
-
Tmux
Object – This session has no matching window.Not Found Exception -
Lib
Tmux – The lookup failed.Exception
-