Control.watchPane
Streams one pane's output from a borrowed control client.
Source and package
- Qualified name
-
LibTmux .FSharp .Control. watch Pane - Namespace
- LibTmux.FSharp
- Declared in
Control- Package
- LibTmux.FSharp
- Source
- src/LibTmux.FSharp/Control.fsi
-
F# value signaturesDeclares the name and type of a value or function in a signature. watchPane: pane: LibTmux -> session: IControl.Pane Mode -> IAsyncSession Enumerable <TmuxEvent > -
Description
The stream ends with
TmuxPaneGoneEventonce the pane is confirmed gone, or withTmuxExitEventwhen the client ends.TmuxPanePausedEventandTmuxPaneContinuedEventbracket output a slow reader missed. It reads the client's single event stream, so other events are consumed and dropped; follow several panes through one client withwatchPanes. Match what it yields withPaneWatch.tmux discards output it has not yet sent once a pane's program exits, so the last lines of a program that exits at once may never arrive. Read final output with
Pane.run, or capture a pane kept withremain-on-exit.- Parameters
- Errors
-
-
System
.Argument – The pane is not in the session the client is attached to; tmux sends a control client output only from that session.Exception -
System
.Invalid – The pane's window left the client's session while it was watched, so tmux sends none of its output any more.Operation Exception
-
Same owner
containment 1 of 10 shownOther members of LibTmux.FSharp.Control whose names share watchPane. 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.Control.watchPane.
Guides
task materialPages that discuss watchPane.
- Topics