Core LibraryalphaAPI Reference

Choose documentation 1

latest

Current version

latest
English

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

function libtmux-elixir latest

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/2 first 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

Discussed in Read values, execute explicitly · Execution ownership

Esc

Type to search.

Reference preview Open reference