PsmuxServer.ConnectAsync
Connects to a separately provisioned psmux namespace.
Source and package
- Module
- LibTmux
- Declared in
- PsmuxServer
- Package
- LibTmux
- Source
- src/LibTmux/Psmux/PsmuxServer.cs
- ConnectAsync ( options : Psmux
Connection , cancellationToken : CancellationOptions Token ) Task<PsmuxServer > -
- Parameters
-
-
options ( Psmux
Connection ) – The executable trust and isolated endpoint settings.Options -
cancellationToken ( Cancellation
Token ) – Cancels process startup and discovery.
-
- Returns
-
A query-only psmux server observation.
- Raises
-
-
Argument
Null –Exception optionsis null. -
Invalid
Operation – The selected namespace has no live session.Exception -
Not
Supported – The executable, build, namespace, session count, or requested behavior is outside the audited preview contract.Exception -
Lib
Tmux – The verified client could not complete discovery.Exception
-