View Source Geocoder.Supervisor (geocoder v2.0.1)

Supervisor for the Geocoder Worker pool and Geocoder Store. See Geocoder.Config for details on the configurations and the possible values

Configuration Example to use a different provider (google)

  Supervisor.start_link(worker_config: [provider: Geocoder.Providers.Google])

Configuration Example to use a different HttpClient

  Supervisor.start_link(worker_config: [http_client: MyApp.MyClient, http_client_opts: [timeout: 1]])

Summary

Functions

Returns a specification to start this module under a supervisor.

Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

@spec start_link(Keyword.t()) :: Supervisor.on_start()