View Source F1Bot.F1Session.Common.Event (f1_bot v0.7.0)

Link to this section Summary

Types

t()

Emitted state machine event

Link to this section Types

@type t() :: %F1Bot.F1Session.Common.Event{
  meta: map() | nil,
  payload: any(),
  scope: binary(),
  sort_key: {integer(), integer()} | nil,
  timestamp: integer() | nil
}

Emitted state machine event

Link to this section Functions

Link to this function

attach_driver_info(events, session, driver_numbers)

View Source
Link to this function

attach_session_info(events, session)

View Source
Link to this function

new(scope, payload, timestamp \\ nil)

View Source
@spec new(binary(), any(), pos_integer() | nil) :: t()