Server.InspectAsync
Reads the live endpoint identity without running its initializer.
Source and package
- Qualified name
-
LibTmux .Server. Inspect Async - Namespace
- LibTmux
- Declared in
Server- Package
- LibTmux
- Source
- src/LibTmux/Server.Identity.cs
- async Task<Server?> InspectAsync( Cancellation
Token cancellationToken = default ) -
Description
Reuses the resolved endpoint and reads its current generation and daemon version. No initializer runs, including when the returned handle is subsequently connected. Captured relationships are not acquired or copied. A materialized input remains bound to its generation and cannot adopt a replacement daemon.
- Parameters
-
-
cancellationToken(CancellationToken ) – Cancels inspection before publication.Default
default
-
- Returns
-
A materialized identity-only handle, or null when no daemon is listening.
- Errors
-
-
Stale
Server – A different daemon owns the endpoint.Generation Exception -
Lib
Tmux – Inspection failed for a reason other than verified daemon absence.Exception -
Invalid
Operation – This handle has no connection identity.Exception -
Operation
Canceled – Inspection was cancelled before publication.Exception
-
Recorded calls
source callsThe C# reference records declarations, not calls, so this page shows no callers or callees. That is a limit of the extracted data, not a statement that nothing calls LibTmux.Server.InspectAsync.
tmux command
task materialThe tmux commands behind InspectAsync.
tmux C API
task materialThe C declarations in tmux that implement these commands.