View Source Geocoder.Worker (geocoder v2.2.1)
Worker the actual process performing the geocoding request to a provider. They are use within a pool (using Poolboy. See Supervisor for details)
Some options are can be passed as part of params such as
:timeout
- The request timeout in milliseconds. Default to 5000 milliseconds:stream_to
- When specified, an async request will be made and result sent to the value specified. It also implies the HTTP client supports streaming.:store
- Wether to use the cache store or not. Default to true. So always checking the cache first
Summary
Functions
Returns a specification to start this module under a supervisor.
Callback implementation for GenServer.init/1
.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor
.
Callback implementation for GenServer.init/1
.