LibTmux.Workspace.WorkspaceBuilder.ApplyAsync
- async Task<Workspace
Result > ApplyAsync( WorkspacePlan plan, CancellationToken cancellationToken = default ) -
Applies the reviewed actions and records their individual outcomes.
Description
Native defaults and hooks remain runtime dependencies. Input acknowledgement is not program completion. Cleanup uses only returned native identities; unknown creations and irreversible shell effects remain visible in the journal.
- Parameters
-
-
plan(WorkspacePlan ) – The immutable plan for this builder's resolved endpoint. -
cancellationToken(CancellationToken ) – Stops further application and cancels the current operation.Default
default
-
- Returns
-
The materialized session, created windows and complete action journal.
- Errors
-
-
Argument
Exception – The plan selects another endpoint. -
Workspace
Operation – The caller canceled application; the exception carries state and action journals.Canceled Exception -
Workspace
Build – Preconditions, application or owned cleanup failed.Exception
-
Guides
task materialPages that discuss ApplyAsync.