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

control.ControlMode.send

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

View as Markdown

Module
control
Declared in
ControlMode
Package
libtmux
Source
crates/libtmux/src/control.rs
send ( self , command : Command ) → Result<BlockResult, Error>
method [source]
method [source]
send

Send one command and wait for its result block.

Errors

Returns an error when the command cannot be written as a control-mode line, the connection has closed, or its deadline elapses while queued, being written, or awaiting a response.

Cancel safety

As for ControlSender::send : a command dropped while queued is never written, and one already committed may run.

0 declared, 0 inherited

Esc

Type to search.