adk_ambient (erlang_adk v0.7.0)
View SourceBounded OTP-native runtime for ambient/background invocations.
Triggers are registered with an immutable Runner and an explicit session policy. submit/2 performs synchronous admission into a bounded queue, then returns a stable event reference while a lightweight supervised job owns the invocation, retry policy, deadline, and cleanup. Repeated idempotency keys return the original reference for as long as its result is retained.
Summary
Types
Functions
-spec child_spec(map()) -> supervisor:child_spec().
-spec register_trigger(binary(), adk_runner:runner(), map()) -> ok | {error, term()}.
-spec start_link() -> gen_server:start_ret().
-spec start_link(map()) -> gen_server:start_ret().