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

control.ControlEvents.shutdown

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

View as Markdown

Module
control
Declared in
ControlEvents
Package
libtmux
Source
crates/libtmux/src/control.rs
shutdown ( mut ) → Result<(), Error>
method [source]
method [source]
shutdown

End the connection and report how it went.

Stops the connection even while command senders remain alive. Unread notifications are discarded so cleanup cannot wait on a full buffer. If the stream already delivered its terminal error, this succeeds; that error is not delivered twice.

Errors

Returns a connection or cleanup error not already delivered by the stream. Caller-requested closure succeeds when cleanup succeeds.

0 declared, 0 inherited

Esc

Type to search.