elixir_weather_data v0.2.5 ElixirWeatherData.GenServer

Link to this section Summary

Functions

Returns a specification to start this module under a supervisor

Returns the current state:

  • {:ok, weather_data_map}
  • {:error, error_reason_string}

Checks the given options

Starts the gen server

Link to this section Functions

Link to this function child_spec(arg)

Returns a specification to start this module under a supervisor.

See Supervisor.

Returns the current state:

  • {:ok, weather_data_map}
  • {:error, error_reason_string}

Checks the given options.

Link to this function start_link(opts)

Starts the gen server.