Libtmux_workspace.Execution.executor
- type executor = { source: unit -> Libtmux
.Source option ; capture: unit -> (Libtmux.t .Snapshot , Libtmux.t .Error ) result ; run: 'a . 'a Libtmux.t .Command -> ('a, Libtmux.t .Error ) result ; bootstrap: Config.t .t -> (Libtmux.Created , Libtmux.t .Error ) result ; inspect: unit -> unit -> observation ; protect: (unit -> unit) -> (unit, Libtmux.t .Error ) result }.t -
Public owner:
Libtmux_workspaceBackend integration:
inspectreturns a callback tied to the latest operation, reading only its retained state even after later submissions.protectbounds compensation and shields it from caller cancellation, reporting expected failures asError. Ordinary callers use their backend's Workspace API.
Members6#
Common operations1#
- protect: (unit -> unit) -> (unit, Libtmux
.Error ) result attribute.t
Other members5#
- bootstrap: Config
.t -> (Libtmux.Created , Libtmux.t .Error ) result attribute.t - capture: unit -> (Libtmux
.Snapshot , Libtmux.t .Error ) result attribute.t - inspect: unit -> unit -> observation attribute
- run: 'a. 'a Libtmux
.Command -> ('a, Libtmux.t .Error ) result attribute.t - source: unit -> Libtmux
.Source option attribute.t