A registered agent session and the result of its metadata query.
The session manager owns the stable ID and PID. Metadata belongs to the session process and can be temporarily unavailable without changing that registration. Unavailable reasons are deliberately small and safe to expose through public listing APIs.
Summary
Types
Metadata query result for a registered session.
A safe public reason for unavailable session metadata.
Functions
Creates a listing with available metadata when its ID matches the registration.
Returns available metadata or the safe reason that it is unavailable.
Returns the stable registration identity.
Reads metadata for a registered session without changing its registration.
Creates a listing whose metadata is unavailable for a safe public reason.
Types
@type details() :: {:available, MingaAgent.SessionMetadata.t()} | {:unavailable, unavailable_reason()}
Metadata query result for a registered session.
Functions
Creates a listing with available metadata when its ID matches the registration.
Returns available metadata or the safe reason that it is unavailable.
Returns the stable registration identity.
Reads metadata for a registered session without changing its registration.