On this page
LibTmux.Workspace.WorkspaceBuilder.BuildAsync
- Module
- LibTmux.Workspace
- Declared in
- WorkspaceBuilder
- Package
- LibTmux
- Source
- src/LibTmux.Workspace/WorkspaceBuilder.cs
- BuildAsync ( workspace : WorkspaceFile , cancellationToken : CancellationToken ) Task<WorkspaceResult>
-
Builds a session from a workspace.
Readiness is inferred from the pane's current command and cursor position. Startup output can resemble a prompt, and a prompt left at the origin can time out; the builder never writes a readiness probe to the pane.
- Parameters
-
-
workspace ( WorkspaceFile ) – The workspace to build.
-
cancellationToken ( CancellationToken ) – Cancels the tmux commands.
-
- Returns
-
What was built, and what could not be.
- Raises
-
-
WorkspaceFormatException – The workspace describes no session.
-
WorkspaceBuildException – tmux failed after application began. The exception reports any materialized state.
-
0 declared, 0 inherited