Syntropy.EventRecorder
(syntropy v0.1.0)
Copy Markdown
Retains lattice runtime events and broadcasts them on Phoenix PubSub.
Summary
Functions
Returns a specification to start this module under a supervisor.
Types
@type event() :: %{ id: String.t(), node_id: String.t(), node_name: String.t(), payload: map(), timestamp: DateTime.t() }
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
@spec recent(non_neg_integer()) :: [event()]
@spec reset() :: :ok
@spec start_link(keyword()) :: GenServer.on_start()