# blocking.Runtime

- **Module:** blocking
- **Package:** libtmux
- **Language:** Rust
- **Kind:** struct
- **Source:** https://github.com/libtmux/libtmux-rs/blob/f0e37052c232636b61d095817046e6bfc8f2ca40/crates/libtmux/src/blocking.rs#L38
- **Page:** https://libtmux.org/en/rs/latest/reference/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.

## Members

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