View Source F1Bot.F1Session.DriverCache (f1_bot v0.7.0)

Stores and handles changes to personal driver information.

Link to this section Summary

Types

t()

Cache of drivers' personal details

Link to this section Types

@type t() :: %F1Bot.F1Session.DriverCache{drivers: map()}

Cache of drivers' personal details

Link to this section Functions

Link to this function

driver_list(driver_cache)

View Source
Link to this function

get_driver_by_abbr(driver_cache, abbr)

View Source
Link to this function

get_driver_by_number(driver_cache, driver_number)

View Source
Link to this function

process_updates(driver_cache, partial_drivers)

View Source
Link to this function

put_driver(driver_cache, driver_info)

View Source