Crawler v1.1.1 Crawler.Worker
Handles the crawl tasks.
Link to this section Summary
Functions
Returns a specification to start this module under a supervisor.
A crawl workflow that delegates responsibilities to
Callback implementation for GenServer.init/1
.
Runs the worker that casts data to itself to kick off the crawl workflow.
Link to this section Functions
Link to this function
child_spec(init_arg)
Returns a specification to start this module under a supervisor.
See Supervisor
.
Link to this function
handle_cast(msg, state)
A crawl workflow that delegates responsibilities to:
Crawler.Fetcher.fetch/1
Crawler.Parser.parse/1
(or a custom parser)
Link to this function
init(args)
Callback implementation for GenServer.init/1
.
Link to this function
run(opts)
Runs the worker that casts data to itself to kick off the crawl workflow.