Control.reconnect/2
Explicitly obtains the ready epoch, starting a replacement only after retirement.
Source and package
- Qualified name
-
LibTmux .Control. reconnect/2 - Module
- LibTmux
- Declared in
Control- Package
- libtmux
- Source
- lib/libtmux/control.ex
- reconnect(control, options \\ []) @spec reconnect(t(), [call
_option ()]) :: {:ok, t()} | {:error, LibTmux ()}.Error .t -
Description
A ready epoch returns itself. Call
close/2first to require replacement. The default 5000ms budget covers metadata admission, retirement and startup. A successful reply pins the acknowledged endpoint even if it becomes stale before this caller resumes. It never follows a later view or replays work. Errors report unknown certainty about existing effects. Attachment counts include the control client; reconnect can attach one replacement client.See the worked example.
- Parameters
-
-
options([call_option ()])Default
[]
Recorded calls
source callsThe Elixir reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls LibTmux.Control.reconnect/2.
tmux command
task materialThe tmux commands behind reconnect/2.
attach-session (the connection is closed) display-message (the connection is closed) tmux C API
task materialThe C declarations in tmux that implement these commands.
Guides
task materialPages that discuss reconnect/2.
- Concepts
- Topics