Session record returned by the remote API broker.
Summary
Types
Explicit metadata availability for a remote session.
Metadata accepted from current and compatible older remote nodes.
Functions
Creates a remote session record from a manager-owned listing and token.
Creates a session info record with available metadata.
Normalizes current and supported older remote listing records.
Normalizes a remote session listing while preserving its order.
Types
@type details() :: {:available, metadata()} | {:unavailable, MingaAgent.SessionListing.unavailable_reason()}
Explicit metadata availability for a remote session.
@type metadata() :: MingaAgent.SessionMetadata.t() | map()
Metadata accepted from current and compatible older remote nodes.
Functions
@spec from_listing(MingaAgent.SessionListing.t(), String.t()) :: t()
Creates a remote session record from a manager-owned listing and token.
@spec new(String.t(), pid(), String.t(), MingaAgent.SessionMetadata.t()) :: t()
Creates a session info record with available metadata.
Normalizes current and supported older remote listing records.
Normalizes a remote session listing while preserving its order.