LibTmux.Workspace.WorkspaceBuilder.PlanAsync
- LibTmux.Workspace.WorkspaceBuilder.PlanAsync ( workspace : Workspace
File , options : WorkspacePlan ? , cancellationToken : CancellationOptions Token ) Task<WorkspacePlan > -
Observes the endpoint and constructs an immutable workspace action plan.
- Parameters
-
-
workspace ( Workspace
File ) – The immutable declaration, resolved explicitly when file-relative paths are needed. -
options ( Workspace
Plan ? ) – The conflict, readiness and cleanup policies.Options -
cancellationToken ( Cancellation
Token ) – Cancels read-only endpoint observation.
-
- Returns
-
The actions and observed identity preconditions; no workspace actions are executed.
- Raises
-
-
Workspace
Format – The declaration cannot be applied.Exception -
Tmux
Session – The default policy refuses an existing session.Exists Exception -
Argument
Exception – The endpoint has an opaque initializer or the options are invalid.
-
Discussed in C# workspace builder API