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

LibTmux.Mcp.PaneActivityHub.WatchAsync

.NET
  • Python Unavailable
  • Ruby Unavailable
  • Lua Unavailable
  • TypeScript Unavailable
  • Rust Unavailable
  • Go Unavailable
  • Java Unavailable
  • .NET
  • C++ Unavailable
  • Swift Unavailable

API reference · Markdown

LibTmux.Mcp.PaneActivityHub.WatchAsync ( pane : Pane , cancellationToken : CancellationToken ) → Task<IAsyncDisposable>
methodasync [source]
methodasync [source]
LibTmux.Mcp.PaneActivityHub.WatchAsync

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.

Esc

Type to search.