Pane.WaitUntilAsync
Waits until a condition holds over the rows the pane shows.
Source and package
- Qualified name
-
LibTmux .Pane. Wait Until Async - Namespace
- LibTmux
- Declared in
Pane- Package
- LibTmux
- Source
- src/LibTmux/Pane.Waiting.cs
- async Task<Pane
Wait > WaitUntilAsync( Func<IReadResult Only <string>, bool> condition, TimeList Span timeout, CancellationToken cancellationToken = default ) -
Description
The condition is tested when the wait begins and again each time the pane prints or changes state, so a screen that is already right ends the wait at once as
PaneWaitOutcome.PresentAtEntry. UnlikeWaitForTextAsync(), it sees the whole screen, including rows a full-screen program redraws. A program that exits leaving a screen the condition accepts ends the wait asPaneWaitOutcome.Matched, notPaneWaitOutcome.PaneExited.- Parameters
-
-
condition(Func<IReadOnly <string>, bool>) – Judges the visible rows, top to bottom.List -
cancellationToken(CancellationToken ) – Stops the wait.Default
default
-
- Returns
-
How the wait ended.
- Errors
-
-
Argument
Out – The timeout is negative or longer than 49 days.Of Range Exception -
Tmux
Transport – Control observation failed.Exception -
Tmux
Object – tmux no longer has the pane when the wait begins.Not Found 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.Pane.WaitUntilAsync.