ExMaps v1.1.0-rc.1 ExMaps.Worker View Source

This module contains definition of Elixir Task which will be used for accessing the cache and calling Google API.

Link to this section Summary

Functions

Returns calculated directions for specified coordinates and given options. Checks wether request has been already cached, if not it sends it to Google API and caches it with specific TTL

Link to this section Functions

Link to this function get_results(coordinates, options) View Source
get_results(map(), [{:key, atom()}]) :: map()

Returns calculated directions for specified coordinates and given options. Checks wether request has been already cached, if not it sends it to Google API and caches it with specific TTL.