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

Program.await/2

Waits for application retirement and collects the final rendered screen.

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

Description

A timed-out wait sends no cancellation. Repeated waits read the retained exit evidence and reobserve the rendered screen. The screen is a separate result because capture can fail after the application's exit is known.

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.await/2.

Esc
Search in

Type to search.

Reference previewOpen reference