ReqManagedAgents.Host.Locator (req_managed_agents_host v0.1.0)

Copy Markdown View Source

Durable external_id -> upstream identity map over a Store. Reads and writes Locator.Record rows; translates the store's :miss (and any non-Record value found in a shared store) to the caller-facing :error.

Summary

Types

external_id()

@type external_id() :: String.t()

Functions

fetch(store, external_id)

list(store)

list_by(store, metadata)

mark_context_sent(store, external_id)

@spec mark_context_sent(ReqManagedAgents.Host.Store.store(), external_id()) ::
  :ok | :error

put(store, record)

set_status(store, external_id, status)