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

GenServer that holds the live F1Bot.F1Session instance, acts as an entrypoint for incoming live timing packets and executes all side effects by passing event messages to F1Bot.Output.Discord via PubSub.

Link to this section Summary

Link to this section Functions

Returns a specification to start this module under a supervisor.

See Supervisor.

Link to this function

driver_info_by_abbr(driver_abbr)

View Source
Link to this function

driver_info_by_number(driver_number)

View Source
Link to this function

driver_session_data(driver_number)

View Source
Link to this function

driver_summary(driver_no)

View Source

Calls the given function with current F1Session as argument, the function should return the modified F1Session.

Link to this function

process_live_timing_packet(packet, processing_options)

View Source
Link to this function

process_transcript(transcript)

View Source
Link to this function

replace_session(session)

View Source
Link to this function

session_clock_from_local_time(local_time)

View Source
Link to this function

set_local_time_mode(mode, extrapolation_rate \\ nil)

View Source