Workspace ManagerconceptAPI reference

Choose documentation 3

latest

Current version

latest
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

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

LibTmux.Workspace.WorkspacePlan

class LibTmux.Workspace.WorkspacePlan

Contains the reviewed actions and observed preconditions for one workspace application.

Description

Planning observes an interval, not a transaction. Native defaults, hooks and configuration remain tmux dependencies. Application resolves symbolic created identities and uses each action in order; enumeration performs no I/O.

Guides

task material

Pages that discuss WorkspacePlan.

Properties14

WorkspacePlan properties
NameTypeDescription
Endpoint Server Gets the resolved endpoint selected by the caller.
SessionName string Gets the literal session name used for creation and conflict checks.
ObservedServer Server? Gets the identity-only observed server, or null when the endpoint was absent.
ExistingSession Session? Gets the exact conflicting session, or null when none was observed.
ExistingSessionPolicy WorkspaceExistingSession Gets the reviewed conflict policy.
ServerStartup WorkspaceServerStartup Gets the reviewed startup policy for an initially absent endpoint.
Readiness WorkspaceReadiness Gets the reviewed pane startup contract.
ReadinessTimeout TimeSpan Gets the budget for each cooperative startup signal.
CompensateOnFailure bool Gets whether journal-owned resources are compensated after failure.
CleanupTimeout TimeSpan Gets the total budget for attempting cleanup after failure.
ObservationStartedAt DateTimeOffset Gets the start of endpoint observation.
ObservationCompletedAt DateTimeOffset Gets the end of endpoint observation.
Actions IReadOnlyList<WorkspaceAction> Gets the complete ordered application operations.
CompensationActions IReadOnlyList<WorkspaceAction> Gets conditional cleanup operations over proven created identities, in cleanup order.
Esc
Search in

Type to search.

Reference previewOpen reference