View Source Beacon.Content.InfoHandler (Beacon v0.2.1)
Beacon's representation of a LiveView handle_info/2 that applies to all of a site's pages.
This is the Elixir code which will handle messages from other Elixir processes.
Do not create or edit info handlers manually
Use the public functions in
Beacon.Content
instead. The functions in that module guarantee that all dependencies are created correctly and all processes are updated. Manipulating data manually will most likely result in inconsistent behavior and crashes.
Summary
Types
@type t() :: %Beacon.Content.InfoHandler{ __meta__: term(), code: binary(), id: Ecto.UUID.t(), inserted_at: DateTime.t(), msg: binary(), site: Beacon.Types.Site.t(), updated_at: DateTime.t() }