adk_agent_turn_sup (erlang_adk v0.7.0)

View Source

Dynamic supervisor for one coordinator per active direct agent turn.

Summary

Functions

child_spec(Options)

-spec child_spec(term()) -> supervisor:child_spec().

init(_)

start_link()

-spec start_link() -> supervisor:startlink_ret().

start_turn(Owner, TurnRef, Work, Timeout)

-spec start_turn(pid(), reference(), fun(() -> term()), infinity | non_neg_integer()) ->
                    supervisor:startchild_ret().