macula_download_sup (macula v9.3.0)
View SourceFactory supervisor for macula_download children.
Meant to be embedded in the caller's own supervision tree: the application decides when to start a new download and when to cancel one via supervisor:terminate_child/2 (or macula_download:cancel/1 on the child pid directly). Children are temporary — a finished or crashed download is never restarted.
Summary
Functions
-spec start_link() -> {ok, pid()}.