On this page
LibTmux.PsmuxPane.CaptureAsync
- Module
- LibTmux
- Declared in
- PsmuxPane
- Package
- LibTmux
- Source
- src/LibTmux/Psmux/PsmuxPane.cs
- CaptureAsync ( options : PsmuxCaptureOptions? , cancellationToken : CancellationToken ) Task<IReadOnlyList<string>>
-
Reads this pane's text through the audited capture subset.
Target consistency is best effort. An external process can remove the pane between LibTmux's existence preflight and psmux's capture.
- Parameters
-
-
options ( PsmuxCaptureOptions? ) – The typed capture range and rendering choices.
-
cancellationToken ( CancellationToken ) – Cancels the psmux query.
-
- Returns
-
The captured lines.
- Raises
-
-
InvalidOperationException – The selected namespace has no live session.
-
StaleServerGenerationException – The sole session was replaced after this observation was read.
-
NotSupportedException – The selected namespace contains more than one session.
-
TmuxObjectNotFoundException – The observed pane is no longer visible during the preflight.
-
LibTmuxException – The verified client could not complete the query.
-
0 declared, 0 inherited