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

LibTmux.IControlModeSession.SendAsync

.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
IControlModeSession
Package
LibTmux
Source
src/LibTmux/ControlMode/IControlModeSession.cs
SendAsync ( command : TmuxCommand , cancellationToken : CancellationToken ) → Task<IReadOnlyList<string>>
method [source]
method [source]
SendAsync

Runs one command on this client and reads what it answered.

tmux answers commands in the order it received them, so this is safe to call concurrently: each caller gets its own answer rather than someone else's. Cancelling stops the wait, not the command; tmux has already been told.

Parameters
Returns

The lines tmux printed, empty when it printed nothing.

Raises

0 declared, 0 inherited

Esc

Type to search.