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

LibTmux.ControlModeSubscriptions.SubscribeSessionAsync

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

View as Markdown

Module
LibTmux
Declared in
ControlModeSubscriptions
Package
LibTmux
Source
src/LibTmux/ControlMode/ControlModeSubscriptions.cs
SubscribeSessionAsync ( session : IControlModeSession , name : string , format : string , cancellationToken : CancellationToken ) → Task<IReadOnlyList<string>>
methodstatic [source]
methodstatic [source]
SubscribeSessionAsync

Subscribes to a session-scoped format changing.

Parameters
  • session ( IControlModeSession ) – The control client to subscribe on.

  • name ( string ) – The subscription's name, echoed back as the first word of a %subscription-changed notification for it.

  • format ( string ) – The tmux format to watch, without #{}.

  • cancellationToken ( CancellationToken ) – Cancels the tmux command.

Returns

The lines tmux printed answering the subscribe command.

0 declared, 0 inherited

Esc

Type to search.