test.TestServerBuilder.lifecycle_timeout
Rust
- Python Unavailable
- Ruby Unavailable
- Lua Unavailable
- TypeScript Unavailable
- Rust
- Go Unavailable
- Java Unavailable
- .NET Unavailable
- C++ Unavailable
- Swift Unavailable
- Module
- test
- Declared in
- TestServerBuilder
- Package
- libtmux
- Source
- crates/libtmux/src/test.rs
-
Configure the bounded startup and graceful-shutdown observation time.
On targets without a safe non-reaping child-exit observer, the graceful shutdown phase is capped at five seconds before forced cleanup.
Examples
use libtmux::test::TestServer;let _builder = TestServer::builder().lifecycle_timeout(std::time::Duration::from_secs(1));
0 declared, 0 inherited