adk_memory_outbox_resolver behaviour (erlang_adk v0.7.0)
View SourceRuntime resolver for durable memory-outbox adapter identities.
The outbox persists only {AdapterModule, StableId}. A processor invokes this callback for each attempt to obtain the current runtime service reference. Resolver state and the returned handle are never written to Mnesia.
Summary
Types
Callbacks
-callback resolve(AdapterModule :: module(), StableId :: stable_id(), ResolverState :: term()) -> {ok, service_ref()} | {error, term()}.