Pane.waitForText
Waits for a line the pane prints to contain the text.
Source and package
- Qualified name
-
LibTmux .FSharp .Pane. wait For Text - 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. waitForText: cancellationToken : CancellationToken -> timeout: TimeSpan -> text: string -> pane: LibTmux -> Task<Pane.Pane Wait >Result -
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 outcomeTimedOut; onlyMirror.waitUntilraises instead.- Parameters
-
-
timeout(TimeSpan)
- Errors
-
-
System
.Argument – The text is empty or spans lines.Exception -
Lib
Tmux – The pane's program had already exited..Tmux Pane Exception -
Lib
Tmux – tmux no longer has the pane..Tmux Object Not Found Exception
-
Same owner
containment 1 of 23 shownOther members of LibTmux.FSharp.Pane whose names share waitForText. They sit on the same type; that does not make them behave alike.
Recorded calls
source callsThe 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 materialPages that discuss waitForText.
- Topics