Server.InspectAsync
Reads the live endpoint identity without running its initializer.
Source and package
- Module
- LibTmux
- Declared in
- Server
- Package
- LibTmux
- Source
- src/LibTmux/Server.Identity.cs
- InspectAsync ( cancellationToken : Cancellation
Token ) Task<Server?> -
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 ( Cancellation
Token ) – Cancels inspection before publication.
-
- Returns
-
A materialized identity-only handle, or null when no daemon is listening.
- Raises
-
-
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
-