Wardrik. Notify. Server
(wardrik v0.1.0-rc.1)
Copy Markdown
Sends notices. One runs per cluster.
It follows every agent's log and sends what each agent's route asks for. It saves its cursor after each event, so it picks up there after a restart. The first time it starts, it begins with new events.
Summary
Functions
Callback implementation for DurableServer.after_terminate/2.
Returns the notifier's children: its supervisor, and a child that starts it there.
Callback implementation for DurableServer.code_change/3.
Callback implementation for DurableServer.handle_cast/2.
Callback implementation for DurableServer.handle_continue/2.
Callback implementation for DurableServer.handle_sync/3.
Callback implementation for DurableServer.init/1.
Starts the notifier under supervisor, unless it's already running in the cluster.
Functions
Callback implementation for DurableServer.after_terminate/2.
@spec children(Wardrik.t()) :: [Supervisor.child_spec()]
Returns the notifier's children: its supervisor, and a child that starts it there.
Callback implementation for DurableServer.code_change/3.
Callback implementation for DurableServer.handle_cast/2.
Callback implementation for DurableServer.handle_continue/2.
Callback implementation for DurableServer.handle_sync/3.
Callback implementation for DurableServer.init/1.
Starts the notifier under supervisor, unless it's already running in the cluster.