Backplane. AgentRuntime. Inbox
(backplane_agent_runtime v1.6.0)
Copy Markdown
Bounded receiver inbox with payload-digest deduplication.
A duplicate correlation ID with the same digest returns the existing receipt. The same key with changed payload conflicts. Overflow is explicit.
Summary
Types
@type t() :: map()
Functions
@spec deliver(t(), map()) :: {:ok, t(), %{status: :accepted | :duplicate}} | {:error, Backplane.AgentRuntime.Error.t()}
@spec new(non_neg_integer()) :: {:ok, t()} | {:error, Backplane.AgentRuntime.Error.t()}