f1_bot v0.7.0
  • Pages
  • Modules
  • Mix Tasks

    View Source F1Bot.PubSub (f1_bot v0.7.0)

    Link to this section Summary

    Functions

    broadcast(topic, message)
    broadcast_events(events, rebroadcast_delayed \\ true)
    subscribe(topic, opts \\ [])
    subscribe_all(topics)
    subscribe_to_event(scope)
    topic_for_event(scope)
    unsubscribe(topic)
    unsubscribe_all(topics)

    Link to this section Functions

    Link to this function

    broadcast(topic, message)

    View Source
    Link to this function

    broadcast_events(events, rebroadcast_delayed \\ true)

    View Source
    @spec broadcast_events([F1Bot.F1Session.Common.Event.t()], boolean()) :: any()
    Link to this function

    subscribe(topic, opts \\ [])

    View Source
    Link to this function

    subscribe_all(topics)

    View Source
    Link to this function

    subscribe_to_event(scope)

    View Source
    @spec subscribe_to_event(String.t()) :: any()
    Link to this function

    topic_for_event(scope)

    View Source
    Link to this function

    unsubscribe(topic)

    View Source
    Link to this function

    unsubscribe_all(topics)

    View Source

    Download ePub version

    Built using ExDoc (v0.29.1) for the Elixir programming language