Core Library0.xAPI reference

Choose documentation 1

latest

Current version

latest
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

function libtmux-fsharp

Pane.waitForText

Waits for a line the pane prints to contain the text.

Source and package
Qualified name
LibTmux.FSharp.Pane.waitForText
Namespace
LibTmux.FSharp
Declared in
Pane
Package
LibTmux.FSharp
Source
src/LibTmux.FSharp/Hierarchy.fsi
F# value signaturesDeclares the name and type of a value or function in a signature.Language documentation waitForText: cancellationToken: CancellationToken -> timeout: TimeSpan -> text: string -> pane: LibTmux.Pane -> Task<PaneWaitResult>

Description

Text already on screen ends the wait at once as PresentAtEntry. The wait sleeps on the pane's own output rather than polling, and ends early when the pane's program exits or a full-screen program starts. Running out of time returns the outcome TimedOut; only Mirror.waitUntil raises instead.

Parameters
Errors

Same owner

containment 1 of 23 shown

Other members of LibTmux.FSharp.Pane whose names share waitForText. They sit on the same type; that does not make them behave alike.

All 23 members of Pane

Recorded calls

source calls
No call edges in the F# model.

The F# 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.FSharp.Pane.waitForText.

Guides

task material

Pages that discuss waitForText.

Esc
Search in

Type to search.

Reference previewOpen reference