X3m.System.Scheduler.load_alarms
You're seeing just the callback
load_alarms
, go back to X3m.System.Scheduler module for more information.
Specs
load_alarms( load_from :: nil | DateTime.t(), load_until :: DateTime.t(), state :: any() ) :: {:ok, [X3m.System.Message.t()]} | {:error, term()}
Load alarms callback is invoked on Scheduler's init with load_from
as nil
,
and after that it is invoked each in_memory_interval/0
with load_from
set to previous load_until
value and new load_until
will be
load_from = 2 * in_memory_interval/0
.