View Source treewalker_crawlers_sup (treewalker v0.4.1)

Link to this section Summary

Link to this section Types

-type child() :: undefined | pid().

Link to this section Functions

Link to this function

add_crawler(Name, Custom)

View Source
-spec add_crawler(term(), map()) -> {ok, child()} | {ok, child(), term()} | {error, term()}.
-spec remove_crawler(term()) -> ok | {error, not_found | simple_one_for_one}.
-spec start_crawler(term()) -> ok.
-spec start_link() -> {ok, pid()} | ignore | {error, term()}.
-spec stop_crawler(term()) -> ok.