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

blocking.Runtime

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

View as Markdown

Module
blocking
Package
libtmux
Source
crates/libtmux/src/blocking.rs
struct blocking.Runtime
structoverload [source]
structoverload [source]
struct blocking.Runtime

A runtime for calling this crate's async methods from ordinary code.

One runtime serves any number of servers and handles. Keep it alive for as long as you use them: the executor reaps tmux child processes on it, so dropping it early turns deterministic cleanup into best-effort cleanup.

3 declared, 0 inherited

Members

  • try_run method Run one future to completion, or say why it cannot be run here.
  • new method Build a single-threaded runtime.
  • run method Run one future to completion.
Esc

Type to search.