adk_trigger_sup (erlang_adk v0.7.0)

View Source

Dynamic supervisor for external and periodic trigger sources.

Summary

Functions

child_spec(Options)

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

init(_)

sources()

-spec sources() -> [pid()].

start_link()

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

start_source(Module, Options)

-spec start_source(module(), map()) -> supervisor:startchild_ret().

stop_source(Pid)

-spec stop_source(pid()) -> ok | {error, term()}.