LibTmux.Workspace.WorkspaceBuilder.ApplyAsync
- LibTmux.Workspace.WorkspaceBuilder.ApplyAsync ( plan : Workspace
Plan , cancellationToken : CancellationToken ) Task<WorkspaceResult > -
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 ( Workspace
Plan ) – The immutable plan for this builder's resolved endpoint. -
cancellationToken ( Cancellation
Token ) – Stops further application and cancels the current operation.
-
- Returns
-
The materialized session, created windows and complete action journal.
- Raises
-
-
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
-
Discussed in C# workspace builder behavior , C# workspace builder API