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

tmux.ControlClient.Reconnect

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

View as Markdown

Module
tmux
Declared in
ControlClient
Package
github.com/libtmux/libtmux-go/tmux
Source
tmux/control_lifecycle.go
Reconnect ( ctx : context.Context ) → (*ControlClient, error)
method [source]
method [source]
Reconnect

Reconnect registers a replacement on the last attached session observed at a reply boundary, then closes the receiver. Failed replacement setup does not initiate receiver shutdown. If shutdown fails, Reconnect returns the live replacement with that error; the caller owns every non-nil result. A receiver whose stream ended cleanly can recover from its last observation. Commands are never replayed.

0 declared, 0 inherited

Esc

Type to search.