Packages

Multi-surface application runtime for Elixir. One TEA module renders to terminal, browser (LiveView), SSH, and MCP (agents). 30+ widgets, flexbox + CSS grid, AI agent runtime, distributed swarm with CRDTs, time-travel debugging, session recording, sandboxed REPL, and agentic commerce.

Current section

Files

Jump to
raxol lib raxol core events manager behaviour.ex
Raw

lib/raxol/core/events/manager/behaviour.ex

defmodule Raxol.Core.Events.EventManager.Behaviour do
@moduledoc """
Behaviour definition for event managers.
Defines the interface for dispatching and broadcasting events
within the Raxol event system.
"""
@callback dispatch(any()) :: any()
@callback broadcast(any()) :: any()
end