Crawler.BusCoordinates.watch

You're seeing just the function watch, go back to Crawler.BusCoordinates module for more information.

Specs

watch(opts()) :: Enumerable.t()

Starts the Crawler. opts

  • real_time_url- Url to fetch bus coordinates, default to https://temporeal.pbh.gov.br/?param=C"
  • pull_interval- Time in miliseconds that should be pulled", default to 60s
  • bus_line_provider- Default to Crawler.CachexBusLineProvider