ReqManagedAgents.Host.Locator.Record (req_managed_agents_host v0.1.0)

Copy Markdown View Source

Durable session-locator row: external id -> upstream identity. A pointer, not an event ledger.

Summary

Types

status()

@type status() :: :active | :terminated | :deleted

t()

@type t() :: %ReqManagedAgents.Host.Locator.Record{
  agent_id: String.t() | nil,
  context_sent: boolean(),
  environment_id: String.t() | nil,
  external_id: String.t(),
  metadata: map(),
  session_id: String.t() | nil,
  status: status()
}

Functions

new(external_id, opts \\ [])

@spec new(
  String.t(),
  keyword()
) :: t()