Workspace ManagerconceptAPI 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.

Libtmux_workspace.Execution.executor

type executor = { source: unit -> Libtmux.Source.t option ; capture: unit -> (Libtmux.Snapshot.t, Libtmux.Error.t) result ; run: 'a . 'a Libtmux.Command.t -> ('a, Libtmux.Error.t) result ; bootstrap: Config.t -> (Libtmux.Created.t, Libtmux.Error.t) result ; inspect: unit -> unit -> observation ; protect: (unit -> unit) -> (unit, Libtmux.Error.t) result }

Public owner: Libtmux_workspace

Backend integration: inspect returns a callback tied to the latest operation, reading only its retained state even after later submissions. protect bounds compensation and shields it from caller cancellation, reporting expected failures as Error. Ordinary callers use their backend's Workspace API.

Members6#

Common operations1#

Other members5#

Esc

Type to search.

Reference previewOpen reference