LibTmux.Workspace.WorkspaceBuilder.PlanAsync
- async Task<Workspace
Plan > PlanAsync( WorkspaceFile workspace, WorkspacePlan ? options = null, CancellationOptions Token cancellationToken = default ) -
Observes the endpoint and constructs an immutable workspace action plan.
- Parameters
-
-
workspace(WorkspaceFile ) – The immutable declaration, resolved explicitly when file-relative paths are needed. -
options(WorkspacePlan ?) – The conflict, readiness and cleanup policies.Options Default
null -
cancellationToken(CancellationToken ) – Cancels read-only endpoint observation.Default
default
-
- Returns
-
The actions and observed identity preconditions; no workspace actions are executed.
- Errors
-
-
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.
-
Guides
task materialPages that discuss PlanAsync.