GenTimer
A GenServer for asynchronously running a function after some duration.
Installation
def deps do
[
{:gen_timer, "~> 0.0.2"}
]
end
Usage
Register a function and a duration. The function will be called after the duration. If using start_repeated/4 or
start_link_repeated/4 it will continue for the specified amount of times.