LibTmux.Mcp.PaneActivityHub.WatchAsync
.NET
- Python Unavailable
- Ruby Unavailable
- Lua Unavailable
- TypeScript Unavailable
- Rust Unavailable
- Go Unavailable
- Java Unavailable
- .NET
- C++ Unavailable
- Swift Unavailable
- LibTmux.Mcp.PaneActivityHub.WatchAsync ( pane : Pane , cancellationToken : CancellationToken ) Task<IAsyncDisposable>
-
Watches a pane's session for as long as the result is held.
Take one of these around a wait. Without it the wait still works, by polling; with it, tmux does the waiting.
- Parameters
-
-
pane ( Pane ) – The pane whose session to watch.
-
cancellationToken ( CancellationToken ) – Cancels starting the control client.
-
- Returns
-
A lease that stops watching when disposed.