Raxol.Core.Runtime.Events.Dispatcher.Behaviour behaviour (Raxol v0.5.0)
View SourceDefines the behaviour for the Event Dispatcher GenServer.
Primarily used for mocking with Mox.
Summary
Callbacks
@callback dispatch(event :: Raxol.Core.Runtime.Events.Event.t()) :: :ok
@callback start_link(runtime_pid :: pid(), initial_state :: map()) :: GenServer.on_start()