AlarmClock
:timer.send_after/3 persistable. Allows scheduling message delivery to specified process in miliseconds or at specified Calendar.DateTime. AlarmClock will make sure that messages are delivered using retry mechanism and after it's own crash, since all messages can be persisted.
Installation
-
Add
alarm_clockto your list of dependencies inmix.exs:
```elixir
def deps do
[{:alarm_clock, "~> 0.0.1"}]
end
```-
Ensure
alarm_clockis started before your application:
```elixir
def application do
[applications: [:alarm_clock]]
end
```