Core LibraryAPI Reference

Choose documentation 3

latest

Current version

latest
English

Prerelease This site documents an alpha of libtmux. Its structure, URLs and APIs are subject to change.

C# API

method libtmux-dotnet latest

Pane.WaitUntilAsync

Namespace LibTmux.Pane.WaitUntilAsync LibTmux

Waits until a condition holds over the rows the pane shows.

View as Markdown

Source and package
Module
LibTmux
Declared in
Pane
Package
LibTmux
Source
src/LibTmux/Pane.Waiting.cs
WaitUntilAsync ( condition : Func<IReadOnlyList<string>, bool> , timeout : TimeSpan , cancellationToken : CancellationToken ) → Task<PaneWaitResult>
methodasync [source]

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 PresentAtEntry . Unlike WaitForTextAsync , 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 as Matched , not PaneExited .

Parameters
Returns

How the wait ended.

Raises
Esc

Type to search.