Core LibraryunreleasedAPI Reference

Choose documentation 2

latest

Current version

latest
English

Unreleased libtmux has not been released. Its API may change during development. This site's structure and URLs may change too.

function libtmux-lisp latest

libtmux.control:with-reconnection

Bind a fresh NAME and SNAPSHOT from explicit RECONNECT; close NAME on exit. Evaluate PREVIOUS and options once. BODY permits declarations and returns all values. Rebinding either visible name cannot redirect cleanup. Preserve primary errors/nonlocal exits and record secondary cleanup errors on the new connection. The previous resource retains its own old results and events.

Source and package
Qualified name
libtmux.control:with-reconnection
Declared in
libtmux.control
Package
libtmux/control
Source
src/control.lisp
(with-reconnection (name snapshot previous &rest options) &body body)

Public owner: libtmux.control

Esc

Type to search.

Reference previewOpen reference