Same-node correlation for explicitly declared process identities.
Correlation is layered so absent evidence remains :unknown; it is never
converted into a guessed match. The registry intentionally exposes no lookup
by PID.
Summary
Functions
Declares a new process generation for subject and returns its
Insider.Identity.Generation. Identities are explicit: nothing is inferred
from PIDs.
Types
Functions
@spec active?(GenServer.server(), term()) :: boolean()
@spec attach(GenServer.server(), Insider.Event.t(), term()) :: {:ok, Insider.Event.t()} | {:error, Insider.Protocol.Error.t()}
@spec declare(GenServer.server(), Insider.Identity.Subject.t(), keyword()) :: {:ok, Insider.Identity.Generation.t()} | {:error, Insider.Protocol.Error.t()}
Declares a new process generation for subject and returns its
Insider.Identity.Generation. Identities are explicit: nothing is inferred
from PIDs.
@spec relation(Insider.Identity.Generation.t(), Insider.Identity.Generation.t()) :: relations()
@spec start_link(keyword()) :: GenServer.on_start()
Starts the identity registry that declare/3 and active?/2 operate on.