PsmuxPane.CaptureAsync
Reads this pane's text through the audited capture subset.
Source and package
- Qualified name
-
LibTmux .Psmux Pane. Capture Async - Namespace
- LibTmux
- Declared in
PsmuxPane- Package
- LibTmux
- Source
- src/LibTmux/Psmux/PsmuxPane.cs
- Task<IRead
Only <string>> CaptureAsync( PsmuxList Capture ? options = null, CancellationOptions Token cancellationToken = default ) -
Description
Target consistency is best effort. An external process can remove the pane between LibTmux's existence preflight and psmux's capture.
- Parameters
-
-
options(PsmuxCapture ?) – The typed capture range and rendering choices.Options Default
null -
cancellationToken(CancellationToken ) – Cancels the psmux query.Default
default
-
- Returns
-
The captured lines.
- Errors
-
-
Invalid
Operation – The selected namespace has no live session.Exception -
Stale
Server – The sole session was replaced after this observation was read.Generation Exception -
Not
Supported – The selected namespace contains more than one session.Exception -
Tmux
Object – The observed pane is no longer visible during the preflight.Not Found Exception -
Lib
Tmux – The verified client could not complete the query.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.PsmuxPane.CaptureAsync.