View Source F1Bot.DelayedEvents (f1_bot v0.7.0)

Link to this section Summary

Link to this section Functions

Link to this function

delayed_topic_for_event(scope, delay_ms)

View Source
Link to this function

fetch_latest_event(delay_ms, event_scope)

View Source

See F1Bot.DelayedEvents.Rebroadcaster.fetch_latest_event/2.

Link to this function

is_valid_delay?(delay_ms)

View Source
Link to this function

oneshot_init(scopes, delay_ms)

View Source

Send the latest event for each topic pair for topics that follow the init + delta pattern, e.g. charts where the init event contains the bulky chart specification and later events only contain new data points to add.

Link to this function

subscribe_with_delay(scopes, delay_ms, send_init_events)

View Source