Core Library0.xAPI reference

Choose documentation 1

latest

Current version

latest
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

Program.close/2

Cancels or joins the application and removes the accepted pane.

Source and package
Qualified name
LibTmux.Program.close/2
Module
LibTmux
Declared in
Program
Package
libtmux
Source
lib/libtmux/program.ex
close(program, timeout) @spec close(t() | startup(), 1..600_000) :: {:ok, result() | %{ pane_cleanup: :removed, application: :unproved }} | {:error, LibTmux.Error.t()}

Description

This operation consumes the handle after removal. A replacement pane is left in place. If removal cannot be proved, the error keeps the observed application result and the handle for recovery. Pass the startup handle in a failed start's details to retry removal without inferring an exit.

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

Esc
Search in

Type to search.

Reference previewOpen reference