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.

MoreLess about this notice

Concept example A working example of the core library. It can change without notice. What concept means

libtmux.workspace:fetch-workspace-state

(fetch-workspace-state client workspace &key cancel-token (timeout (slot-value client (quote timeout))) (output-limit (slot-value client (quote output-limit))) (record-limit 100000))

Public owner: libtmux.workspace

Acquire ready/vacant owned metadata and a captured graph explicitly through CLIENT. WORKSPACE must use schema /2; /1 is refused before I/O. TIMEOUT and OUTPUT-LIMIT share the bounded read policy across attempts. RECORD-LIMIT is an integer from 1 through 100000; CANCEL-TOKEN is shared. No mutation occurs. Returns a WORKSPACE-STATE for local planning, usable after client close. Actual read failures signal WORKSPACE-STATE-ERROR with partial evidence; invalid arguments remain validation failures. Failure is never reported as vacancy.

Parameters

Guides

task material

Pages that discuss fetch-workspace-state.

Workspace
Esc
Search in

Type to search.

Reference previewOpen reference