adk_task_sup (erlang_adk v0.7.0)

View Source

Dynamic supervisor for bounded, independently owned tasks.

Summary

Functions

child_spec(Opts)

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

init(_)

start_link()

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

start_task(TaskRef, Work, Opts)

-spec start_task(binary(), fun(() -> term()) | {module(), atom(), [term()]}, map()) ->
                    supervisor:startchild_ret().