Core Library0.xAPI reference

Choose documentation 1

pr-173

Current version

pr-173
English

Early release libtmux is released, and its APIs may still change between releases. This site's structure and URLs may change too.

MoreLess about this notice

function libtmux-elixir

Control.close/2

Requests closure and waits for proven retirement of the pinned epoch.

Source and package
Qualified name
LibTmux.Control.close/2
Module
LibTmux
Declared in
Control
Package
libtmux
Source
lib/libtmux/control.ex
close(control, options \\ []) @spec close(t(), [call_option()]) :: :ok | {:error, LibTmux.Error.t()}

Description

timeout defaults to 5000ms. The original budget includes validation and retirement waiting. Closure still happens if the bounded metadata wait cannot be admitted. Timeout, overload or lost ownership reports unknown certainty; it never proves cleanup. :ok requires known native and actor retirement.

The connection supervisor and retained records remain available for explicit reconnect and inspection. This does not stop the supervisor or roll back sibling effects.

See the worked example.

Parameters

Recorded calls

source calls
No call edges in the Elixir model.

The 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.close/2.

Guides

task material

Pages that discuss close/2.

Esc
Search in

Type to search.

Reference previewOpen reference